diff options
author | Austin Seipp <austin@well-typed.com> | 2014-07-09 19:08:26 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-07-09 19:20:38 -0500 |
commit | bd5f3ef6585640f762d96426bb041d79a5038e8e (patch) | |
tree | 3de7ab4954715f9086242e45e73ac01928225848 /rts/eventlog | |
parent | a77e07970a89f2101e3c4f0429c6f426f06f1faf (diff) | |
download | haskell-bd5f3ef6585640f762d96426bb041d79a5038e8e.tar.gz |
rts: Fix #9003 with an annoying hack
The TL;DR is that by adding this, we can distinguish GHC 7.8.3 from
7.8.2, which had a buggy implementation. See the ticket for details.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/eventlog')
-rw-r--r-- | rts/eventlog/EventLog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index 2e0e9bbddc..4fd4b44d80 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -106,6 +106,7 @@ char *EventDesc[] = { [EVENT_TASK_CREATE] = "Task create", [EVENT_TASK_MIGRATE] = "Task migrate", [EVENT_TASK_DELETE] = "Task delete", + [EVENT_HACK_BUG_T9003] = "Empty event for bug #9003", }; // Event type. @@ -420,6 +421,10 @@ initEventLogging(void) sizeof(EventCapNo); break; + case EVENT_HACK_BUG_T9003: + eventTypes[t].size = 0; + break; + default: continue; /* ignore deprecated events */ } |