cabal-version: 2.2 name: prof-flamegraph version: 1.0.0 synopsis: Generate flamegraphs from ghc RTS .prof files license: MIT license-file: LICENSE author: Sam Halliday maintainer: Sam Halliday copyright: (c) 2018 Symbiont.io bug-reports: https://github.com/symbiont-io/prof-flamegraph/pulls tested-with: GHC ^>= 8.4.4 || ^>= 8.6.2 category: Testing description: This is a small tool to convert ghc `.prof` files into a format consumable by [FlameGraph](https://github.com/brendangregg/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. source-repository head type: git location: https://github.com/symbiont-io/prof-flamegraph -- https://www.haskell.org/cabal/users-guide/cabal-projectindex.html common deps build-depends: , base ^>= 4.11.1.0 || ^>= 4.12.0.0 ghc-options: -Wall -Werror=missing-home-modules default-language: Haskell2010 executable prof-flamegraph import: deps hs-source-dirs: exe main-is: Main.hs other-modules: ProfFile build-depends: optparse-applicative ^>= 0.14.3.0 ghc-options: -threaded