Read files generated by perf on Linux https://github.com/bjpop/haskell-linux-perf
|Latest on Hackage:||0.3|
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.
linux-perf is a library for parsing, representing in Haskell and pretty-printing the data file output of the Linux 'perf' command (Linux performance counters).
License and Copyright
linux-perf is distributed as open source software under the terms of the BSD License (see the file LICENSE in the top directory).
Authors: Simon Marlow, Bernie Pope, Mikolaj Konarski, Duncan Coutts, copyright 2010, 2011, 2012.
Email Bernie Pope:
Building and installing
linux-perf uses the cabal infrastructure for configuring, building and installation. It needs access to the header files from the Linux kernel source distribution (one that is sufficiently recent to support the performance counters tool).
To build and install:
cabal install --extra-include-dirs=/path/to/linux/headers/
dump-perf test/ParFib.perf.data | less
For longer examples see README.ghc-events-perf.md.