[commit: ghc] wip/libdw-prof: StatProfile: Heap and blackhole sampling (e2ff03e)
git at git.haskell.org
git at git.haskell.org
Sat May 6 22:40:31 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/libdw-prof
Link : http://ghc.haskell.org/trac/ghc/changeset/e2ff03e485acea1f88f8d462ac13bc2282fadd18/ghc
>---------------------------------------------------------------
commit e2ff03e485acea1f88f8d462ac13bc2282fadd18
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Aug 30 16:54:15 2015 +0200
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.
>---------------------------------------------------------------
e2ff03e485acea1f88f8d462ac13bc2282fadd18
includes/rts/Config.h | 5 +++
rts/Capability.c | 20 ++++++++++++
rts/Capability.h | 9 ++++++
rts/HeapStackCheck.cmm | 74 +++++++++++++++++++++++++++++++++++++++++++
rts/Schedule.c | 3 ++
rts/StatProfile.h | 66 ++++++++++++++++++++++++++++++++++++++
rts/Trace.h | 2 ++
utils/deriveConstants/Main.hs | 4 +++
8 files changed, 183 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 e2ff03e485acea1f88f8d462ac13bc2282fadd18
More information about the ghc-commits
mailing list