I don't remember seeing it ever in perf report --call-graph output, but it would be cool...
@acmel do you know? Can perf insert "synthetic" stack frames for inlined functions when the dwarf walker is used?
E.g., a() calls b() calls c() in the source, but b() gets inlined ...
-
-
Replying to @trav_downs @forked_franz and
Yes, lemme dig an example I'm some cset by Milian...
1 reply 1 retweet 2 likes -
Replying to @acmel @trav_downs and1 reply 1 retweet 3 likes
-
Replying to @acmel @trav_downs and
Nice one! That explain why my colleagues suggested me to use dwarf with libelf (was Jiri Olsa If you know him)
2 replies 0 retweets 1 like -
Replying to @forked_franz @acmel and
Do you recompile perf with libelf configured?
2 replies 0 retweets 0 likes -
Replying to @trav_downs @acmel and
That's default on centos and fedora (until 29 afaik), no ide about rhel, but I stay away from glibc with cond wait in ASM without debug sym XD
1 reply 0 retweets 1 like -
Replying to @forked_franz @acmel and
Can I see what config options my binary perf was built with? I'm on Ubuntu but I'm not sure what unwinder it uses. I also build my own perf from Linus' tip to get new features, but report doesn't annotate jumps in C++ code correctly anymore so I keep both around.
2 replies 0 retweets 0 likes -
Replying to @trav_downs @acmel and
Try from here https://bugzilla.redhat.com/show_bug.cgi?id=1025603 … I have not my computer at hand now :(
1 reply 0 retweets 0 likes -
Replying to @forked_franz @trav_downs and
I'm using me smartphone as well..
1 reply 0 retweets 1 like -
Replying to @acmel @forked_franz and
Thanks for the help guys, feel free to bail at any point :). It seems like libunwind is used in preference to libdw, if both are available (but dunno if there is any way to report which was chosen given a perf binary):pic.twitter.com/zxNCFU05bO
2 replies 0 retweets 0 likes
Both libunwind and libdw are not as good as they could be: https://lkml.org/lkml/2019/12/19/1437 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.