Skip to content

NCrashed/live-profile-monitor

Repository files navigation

live-profile-monitor

It is client side library for live eventlog profiling toolchain. The library collects data from eventlog and sends it via UDP or TCP to remote profiling tool.

The repo is related to the Haskell Summer of Code 2016 project. The tool is currently requires hacked RTS (see below) to operate properly.

How to build

  • You need a patched GHC 8.1 from the repo until the project is merged into GHC master.

  • Clone and boot the repo:

git clone https://github.com/NCrashed/live-profile-monitor.git --recursive
cd live-profile-monitor
cd ghc-events && git checkout incremental && cd .. 

Cabal >= 1.24

  • Initalize cabal environment (note, you need Cabal and cabal-install not lower than 1.24.0.0 version):
cabal new-configure --enable-tests
  • Compile:
cabal new-build
  • Test:
./tests.sh

Stack

  • Tell stack to use system wide GHC:
stack --compiler=ghc-8.1 install
  • Test:
stack build --test --compiler=ghc-8.1 --no-run-tests
stack test live-profile-monitor:test-monitor --compiler=ghc-8.1 --test-arguments="./.stack-work/dist/*/Cabal-*/build/test-leech/test-leech"
ghc-events inc test.eventlog

About

Utilities to stream eventlog to remote profiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages