diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2020-12-08 15:44:35 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-02-02 08:57:08 +0000 |
commit | 823bf203630100f833809e4032ef655d25bcccf6 (patch) | |
tree | ca545b1ada83d7fca8233c49f9a9b4199fd043a1 /includes/rts/storage/GC.h | |
parent | 277f1dac759d9daab3f3bca1ef665b615ed05663 (diff) | |
download | haskell-wip/ghc-debug-ghc.tar.gz |
Add generic block traversal functionwip/ghc-debug-ghc
Diffstat (limited to 'includes/rts/storage/GC.h')
-rw-r--r-- | includes/rts/storage/GC.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index 6bc7157bd6..6acfd10cea 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -163,6 +163,9 @@ extern generation * generations; extern generation * g0; extern generation * oldest_gen; +typedef void(*ListBlocksCb)(void *user, bdescr *); +void listAllBlocks(ListBlocksCb cb, void *user); + /* ----------------------------------------------------------------------------- Generic allocation |