schneiml / igprof-flamegraph

Make FLameGraphs with igprof

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Make FLameGraphs with igprof


Languages

Language:C++ 100.0%