diff options
author | Duncan Coutts <duncan@well-typed.com> | 2011-05-26 16:42:37 +0100 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2011-05-26 18:47:38 +0100 |
commit | 43c7d555c8d7eea6ba0d76bce33be8d25a01c6fd (patch) | |
tree | bdedeec69be072afc7dc5818652d85a3b42a10cf /rts/eventlog/EventLog.h | |
parent | c4f9b989c605776c1f07929672a856f07d9b4b44 (diff) | |
download | haskell-43c7d555c8d7eea6ba0d76bce33be8d25a01c6fd.tar.gz |
Add capability sets to the tracing/events system
We trace the creation and shutdown of capabilities. All the capabilities
in the process are assigned to one capabilitiy set of OS-process type.
This is a second version of the patch. Includes work by Spencer Janssen.
Diffstat (limited to 'rts/eventlog/EventLog.h')
-rw-r--r-- | rts/eventlog/EventLog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.h b/rts/eventlog/EventLog.h index 22a034c2d4..116b532c1f 100644 --- a/rts/eventlog/EventLog.h +++ b/rts/eventlog/EventLog.h @@ -47,6 +47,13 @@ void postCapMsg(Capability *cap, char *msg, va_list ap); void postEventStartup(EventCapNo n_caps); +/* + * Post a capability set modification event + */ +void postCapsetModifyEvent (EventTypeNum tag, + EventCapsetID capset, + StgWord32 other); + #else /* !TRACING */ INLINE_HEADER void postSchedEvent (Capability *cap STG_UNUSED, |