Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 791 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 791 Bytes

igprof-flamegraph

A simple program that reads the igprof profile statistics file format and converts it to a format suitable for Brendan Greggs FlameGraph visualization.

The igprof format is a pain to parse properly. I still tried to do it properly, which makes the code a bit more complicated than it has to be, and a lot of information is read that is not needed for the current output. No symbol demangling is done, so you might want to add c++filt yourself.

Install

Compile and copy to $PATH. No dependencies except C++11 std.

Usage

zcat igprof-outfile.gz | igprof-flamegraph | c++filt | flamegraph.pl > flamegraph.svg

License

Probably GPLv3.