prof-flamegraph

Generate flamegraphs from ghc RTS .prof files

Latest on Hackage:1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Sam Halliday

This is a small tool to convert ghc `.prof` files into a format consumable by FlameGraph.

Obtain `.prof` files by compiling with `--enable-profiling` and running with `+RTS -P -RTS`.

$ cat app.prof |
  prof-flamegraph |
  flamegraph.pl > output.svg

This is a fork of https://github.com/fpco/ghc-prof-flamegraph which hides the intermediate flamegraph format.