diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-10 09:29:31 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-10 19:20:48 -0500 |
commit | 59ba8fb3fb2bd7ac99b559141bf87a39c72e8a00 (patch) | |
tree | fc85abeed4c0434629708192992debe033eaffb7 | |
parent | c995b7e7cfbd3584509bd31a8ea5b840f9fcb20e (diff) | |
download | haskell-59ba8fb3fb2bd7ac99b559141bf87a39c72e8a00.tar.gz |
eventlog: Fix event type of MEM_RETURN
This leads to corrupted eventlogs because the size of EVENT_MEM_RETURN is
completely wrong.
Fixes a bug introduced in 2e29edb7421c21902b47d130d45f60d3f584a0de
-rwxr-xr-x | rts/gen_event_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/gen_event_types.py b/rts/gen_event_types.py index 39cded79b6..0044327c0b 100755 --- a/rts/gen_event_types.py +++ b/rts/gen_event_types.py @@ -100,7 +100,7 @@ event_types = [ # Range 60 - 80 is used by eden for parallel tracing. # See http://www.mathematik.uni-marburg.de/~eden/ - EventType(90, 'MEM_RETURN', [CapNo, Word64, Word64, Word64], 'The RTS attempted to return heap memory to the OS'), + EventType(90, 'MEM_RETURN', [CapsetId, Word32, Word32, Word32], 'The RTS attempted to return heap memory to the OS'), EventType(91, 'BLOCKS_SIZE', [CapsetId, Word64], 'Report the size of the heap in blocks'), # Range 100 - 139 is reserved for Mercury. |