[commit: ghc] wip/libdw-prof: StatProfile: Heap and blackhole sampling (a271068)
git at git.haskell.org
git at git.haskell.org
Sun May 7 19:38:37 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/libdw-prof
Link : http://ghc.haskell.org/trac/ghc/changeset/a2710682c3fe30ed2c78bc2ade2bb692fcc79023/ghc
>---------------------------------------------------------------
commit a2710682c3fe30ed2c78bc2ade2bb692fcc79023
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sat May 6 20:58:12 2017 -0400
StatProfile: Heap and blackhole sampling
Based on Peter Wortmann's c01384a26d7c9d22d26a760470bdb6379a2913ee.
Lacking a better idea, I follow Peter's lead and hackily lay claim to R9
for funneling the attribution address to stg_gc_noregs.
In addition I add support for profiling of blackhole wait events.
>---------------------------------------------------------------
a2710682c3fe30ed2c78bc2ade2bb692fcc79023
includes/rts/Config.h | 5 +++
rts/Capability.c | 20 ++++++++++++
rts/Capability.h | 9 ++++++
rts/HeapStackCheck.cmm | 74 +++++++++++++++++++++++++++++++++++++++++++
rts/Schedule.c | 3 ++
rts/StatProfile.h | 63 ++++++++++++++++++++++++++++++++++++
rts/Trace.h | 2 ++
utils/deriveConstants/Main.hs | 4 +++
8 files changed, 180 insertions(+)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a2710682c3fe30ed2c78bc2ade2bb692fcc79023
More information about the ghc-commits
mailing list