Re: Inlined functions in perf report
From: Steinar H. Gunderson
Date: Wed Dec 21 2016 - 05:20:50 EST
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/