diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-08-03 21:09:48 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-08-03 21:09:48 +0000 |
commit | 94ca983b0839abace1737001d6f84138085fec28 (patch) | |
tree | 3a32adbac5e99aaa62ee5483802c3e1b844ff75b /rts/eventlog | |
parent | 071e8839d633d6326048702a323f1c28ebc86d48 (diff) | |
download | haskell-94ca983b0839abace1737001d6f84138085fec28.tar.gz |
use C99-style array initialisers
Diffstat (limited to 'rts/eventlog')
-rw-r--r-- | rts/eventlog/EventLog.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index 4786358004..bd887afa8e 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -39,22 +39,22 @@ typedef struct _EventsBuf { EventsBuf *eventsBuf; char *EventDesc[] = { - "Create thread", - "Run thread", - "Stop thread", - "Thread runnable", - "Migrate thread", - "Run spark", - "Steal spark", - "Shutdown", - "Wakeup thread", - "Starting GC", - "Finished GC", - "Request sequential GC", - "Request parallel GC", - "Create spark", - "Spark to thread", /* DEPRECATED! */ - "Create spark thread" + [EVENT_CREATE_THREAD] = "Create thread", + [EVENT_RUN_THREAD] = "Run thread", + [EVENT_STOP_THREAD] = "Stop thread", + [EVENT_THREAD_RUNNABLE] = "Thread runnable", + [EVENT_MIGRATE_THREAD] = "Migrate thread", + [EVENT_RUN_SPARK] = "Run spark", + [EVENT_STEAL_SPARK] = "Steal spark", + [EVENT_SHUTDOWN] = "Shutdown", + [EVENT_THREAD_WAKEUP] = "Wakeup thread", + [EVENT_GC_START] = "Starting GC", + [EVENT_GC_END] = "Finished GC", + [EVENT_REQUEST_SEQ_GC] = "Request sequential GC", + [EVENT_REQUEST_PAR_GC] = "Request parallel GC", + [EVENT_CREATE_SPARK] = "Create spark", + [EVENT_SPARK_TO_THREAD] = "Spark to thread", /* DEPRECATED! */ + [EVENT_CREATE_SPARK_THREAD] = "Create spark thread" }; // Event type. |