Closed bobrik closed 6 years ago
I'm fine with the change, although I think perf sometimes does this automatically (or maybe I was dreaming).
I was surprised to not find this detail in your notes on flamegraphs, maybe there's something wrong with our setup. We just use stock perf
that comes with 4.14.
Our target runs in a Docker container, maybe it makes the difference.
Yeah, I've seen it not work too, but I haven't dug into why. Normally it does work for us. Just taking a quick look at the perf source, it does have:
Makefile.perf:# Define NO_DEMANGLE if you do not want C++ symbol demangling.
So your perf is probably built with NO_DEMANGLE, which is probably autodetected based on available libraries. Anyway. We should note the c++filt workaround in the comments.
Relevant snippet:
I added libberty-dev
to the build dependencies and perf
does demangle automatically.
Thanks for pointing in the right direction.
Converting this:
into this: