I've just discovered the fantastic tool perf on Linux.
I profiled a D program with this but when I call
perf report
the symbols are not demangled.
I'm aware of ddemangle
but this only works in batch-processing mode. I could always dump the output to a file for viewing. But it would be great if someone have found a solution to demangle the symbols before they are added to the perf database file.