[commit: ghc] wip/libdw-prof: StatProfile: Heap and blackhole sampling (d9970b8)

git at git.haskell.org git at git.haskell.org
Sun May 7 02:11:23 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/libdw-prof
Link       : http://ghc.haskell.org/trac/ghc/changeset/d9970b8e4e9cd3bdd2cccf024e520bc5edd6600a/ghc

>---------------------------------------------------------------

commit d9970b8e4e9cd3bdd2cccf024e520bc5edd6600a
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.


>---------------------------------------------------------------

d9970b8e4e9cd3bdd2cccf024e520bc5edd6600a
 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 d9970b8e4e9cd3bdd2cccf024e520bc5edd6600a


More information about the ghc-commits mailing list