[commit: ghc] wip/libdw-prof: StatProfile: Heap and blackhole sampling (065fec9)
git at git.haskell.org
git at git.haskell.org
Sat May 6 22:26:42 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/libdw-prof
Link : http://ghc.haskell.org/trac/ghc/changeset/065fec99d6a27a72a0455c09e50fdffd1e736a3a/ghc
>---------------------------------------------------------------
commit 065fec99d6a27a72a0455c09e50fdffd1e736a3a
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.
>---------------------------------------------------------------
065fec99d6a27a72a0455c09e50fdffd1e736a3a
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 065fec99d6a27a72a0455c09e50fdffd1e736a3a
More information about the ghc-commits
mailing list