flamegraph.pl: draw a flame graph (SVG) from folded stacks
flamegraph.pl [options] infile > outfile.svg
What it does
From Brendan Gregg's FlameGraph repository (git clone https://github.com/brendangregg/FlameGraph). Reads folded stacks (one line per stack: frames joined by ";", a space, a count) and writes an interactive SVG.
Options you will use
--title TEXT- the title.
--width NUM- image width (default 1200).
--colors PALETTE- hot (default), mem, io, java, js, perl...
--countname TEXT- what the counts are (samples, us...).
--reverse- an icicle-style reversed stack graph.
--inverted- an icicle graph (top-down).
Examples
$ ./FlameGraph/flamegraph.pl out.folded > flame.svgdraw it
Try flamegraph.pl in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.