@hackage / prof-flamegraph

Generate flamegraphs from ghc RTS .prof files

Latest1.0.0

About

Metadata

  • Last updated , by fommil
  • License MIT
  • Categories Testing
  • Maintained by: Sam Halliday

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.5
  2. 8.6.4
  3. 8.6.3
  4. 8.6.2
  5. 8.4.4

Readme

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.