Skip to content
Snippets Groups Projects
Commit 59ba8fb3 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

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 2e29edb7
parent c995b7e7
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment