StatProfile: Heap and blackhole sampling
authorBen Gamari <ben@smart-cactus.org>
Sun, 7 May 2017 00:58:12 +0000 (20:58 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 7 May 2017 19:36:16 +0000 (15:36 -0400)
commita2710682c3fe30ed2c78bc2ade2bb692fcc79023
tree3dd22d03058aea72eab8d011ce65ba8f00524692
parentf9cb7a248c5049cc25344917a012b35d171f5999
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.
includes/rts/Config.h
rts/Capability.c
rts/Capability.h
rts/HeapStackCheck.cmm
rts/Schedule.c
rts/StatProfile.h [new file with mode: 0644]
rts/Trace.h
utils/deriveConstants/Main.hs