Linux perf demangle D symbols

drug drug2004 at bk.ru
Wed Feb 26 10:09:53 UTC 2020


On 2/26/20 10:20 AM, Arun Chandrasekaran wrote:
> Does anyone use Linux perf here, with D symbols demangled?
> 
> I'm on Ubuntu 19.10, but I can't get perf to demangle the D symbols.

If you use `perf report` then that currently is impossible I guess. But 
if you use flamegraph for example then ddemangle can help here:
```
git clone https://github.com/brendangregg/FlameGraph.git
perf script | FlameGraph/stackcollapse-perf.pl | 
FlameGraph/flamegraph.pl | ddemangle > perf.svg
```

but some symbols remain mangled


More information about the Digitalmars-d mailing list