X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Feventlog%2FEventLog.h;h=10903709d8d2599b61cc03d8e972a0f52808395f;hb=e9f5a98d3ce9c8999b9b229affab9eaa137337da;hp=386730106e86284e17129406c5a0227dd0a7431f;hpb=8b18faef8aeaf40150c208272a2fc117611e8ae8;p=ghc-hetmet.git diff --git a/rts/eventlog/EventLog.h b/rts/eventlog/EventLog.h index 3867301..1090370 100644 --- a/rts/eventlog/EventLog.h +++ b/rts/eventlog/EventLog.h @@ -9,8 +9,8 @@ #ifndef EVENTLOG_H #define EVENTLOG_H +#include "rts/EventLogFormat.h" #include "Capability.h" -#include "EventLogFormat.h" #ifdef EVENTLOG @@ -23,15 +23,15 @@ void initEventLogging(void); void endEventLogging(void); void freeEventLogging(void); -void postEvent_(Capability *cap, EventTypeNum tag, StgThreadID id, nat from); +void postEvent_(Capability *cap, EventTypeNum tag, StgThreadID id, StgWord64 other); /* * Post an event to the capability's event buffer. */ -INLINE_HEADER void postEvent(Capability *cap, EventTypeNum tag, StgThreadID id, nat from) +INLINE_HEADER void postEvent(Capability *cap, EventTypeNum tag, StgThreadID id, StgWord64 other) { if (RtsFlags.EventLogFlags.doEventLogging) { - postEvent_(cap, tag, id, from); + postEvent_(cap, tag, id, other); } } @@ -42,7 +42,7 @@ void printAndClearEventLog(Capability *cap); INLINE_HEADER void postEvent(Capability *cap STG_UNUSED, EventTypeNum tag STG_UNUSED, StgThreadID id STG_UNUSED, - nat from STG_UNUSED) + StgWord64 other STG_UNUSED) { /* nothing */ }