On Tuesday, December 20, 2016 2:43:41 PM CET Steinar H. Gunderson wrote: > On Tue, Dec 20, 2016 at 02:27:10PM +0100, Milian Wolff wrote: > > It is not even possible with that, perf report is lacking the steps > > required to add inline frames - it will only add "real" frames it gets > > from either of the unwind libraries. > > > > I have a WIP patch available for this functionality though, it can be > > found > > here (depends on libbfd, i.e. bfd_find_inliner_info): > > > > https://github.com/milianw/linux/commit/ > > 71d031c9d679bfb4a4044226e8903dd80ea601b3 > > Thanks, I'll be sure to try it out. I assume this works only with -g dwarf? > I.e., for non-graph runs, I will still get the bottom function only, not the > inlined one. There is no -g dwarf to my knowldge. There is only `perf record -g`, which is the framepointer based unwinding and that should also work. But I only really tested this WIP branch with `--call-graph dwarf` so far. I'm not so sure whether I understand your sentence about "non-graph runs". It has nothing to do with `perf report -g graph` (yes, perf is confusing!). You'll have to: perf record [-g | --call-graph lbr | --call-graph dwarf ] (pick one) perf report -g srcline (and anything else) Cheers -- Milian Wolff | milian.wolff@kdab.com | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts