Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763514AbcLUKUs (ORCPT ); Wed, 21 Dec 2016 05:20:48 -0500 Received: from cassarossa.samfundet.no ([193.35.52.29]:32806 "EHLO cassarossa.samfundet.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756016AbcLUKUq (ORCPT ); Wed, 21 Dec 2016 05:20:46 -0500 Date: Wed, 21 Dec 2016 11:20:35 +0100 From: "Steinar H. Gunderson" To: Milian Wolff Cc: "Jin, Yao" , Arnaldo Carvalho de Melo , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Jiri Olsa , "Liang, Kan" Subject: Re: Inlined functions in perf report Message-ID: <20161221102035.GA31703@sesse.net> References: <20161220115954.GA35897@sesse.net> <20161221095823.GA19249@sesse.net> <8193556.VWj3dM7HSI@milian-kdab2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8193556.VWj3dM7HSI@milian-kdab2> X-Operating-System: Linux 4.9.0 on a x86_64 User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 13 On Wed, Dec 21, 2016 at 11:09:42AM +0100, Milian Wolff wrote: > Just to check - did you really compile your code with frame pointers? By > default, that is not the case, and the above will try to do frame pointer > unwinding which will then fail. Put differently - do you any stack frames at > all? Can you try `perf record --call-graph dwarf` instead? Of course, make > sure you compile your code with `-g -O2` or similar. I don't specifically use -fno-omit-frame-pointer, no. But the normal stack unwinding works just fine with mainline perf nevertheless; is this expected? /* Steinar */ -- Homepage: https://www.sesse.net/