diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2020-12-07 13:19:28 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-03 08:12:29 -0500 |
commit | d89deeba47ce04a5198a71fa4cbc203fe2c90794 (patch) | |
tree | 8f879bbb0774ce686e1688cc638ef22179babf51 /rts/rts.cabal.in | |
parent | d8dc0f96237fe6fe7081c04727c7c2573477e5cb (diff) | |
download | haskell-d89deeba47ce04a5198a71fa4cbc203fe2c90794.tar.gz |
Profiling: Allow heap profiling to be controlled dynamically.
This patch exposes three new functions in `GHC.Profiling` which allow
heap profiling to be enabled and disabled dynamically.
1. startHeapProfTimer - Starts heap profiling with the given RTS options
2. stopHeapProfTimer - Stops heap profiling
3. requestHeapCensus - Perform a heap census on the next context
switch, regardless of whether the timer is enabled or not.
Diffstat (limited to 'rts/rts.cabal.in')
-rw-r--r-- | rts/rts.cabal.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in index a1d0ce39a2..108b4d6b9b 100644 --- a/rts/rts.cabal.in +++ b/rts/rts.cabal.in @@ -180,6 +180,7 @@ library rts/Types.h rts/Utils.h rts/prof/CCS.h + rts/prof/Heap.h rts/prof/LDV.h rts/storage/Block.h rts/storage/ClosureMacros.h |