I've profiled a C++ application using GNU gprof. It would be really nice to visualize the data and for that purpose I found a python utility gprof2dot, which creates a graph from the gprof data, nice! But, ultimately I'd like to visualize the data as a flamegraph, popularized by Brendan Gregg. However, to my big surprise, I've not been able to find a tool to convert the gprof data into a format that flamegraph understands!?
Is anyone aware of such a utility? Or know how to do a workaround?
Asked
Active
Viewed 587 times
1

apprentice
- 21
- 3
1 Answers
0
gprof
doesn't collect random stack samples, which is what flamegraphs display.
And here's what you might learn if you try flamegraphs.

Mike Dunlavey
- 40,059
- 14
- 91
- 135