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/RtsProbes.d | |
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/RtsProbes.d')
-rw-r--r-- | rts/RtsProbes.d | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/RtsProbes.d b/rts/RtsProbes.d index dbc5111e46..bd32fca385 100644 --- a/rts/RtsProbes.d +++ b/rts/RtsProbes.d @@ -23,6 +23,8 @@ * typedef uint16_t EventCapNo; * typedef uint16_t EventPayloadSize; // variable-size events * typedef uint16_t EventThreadStatus; + * typedef uint32_t EventCapsetID; + * typedef uint16_t EventCapsetType; // types for EVENT_CAPSET_CREATE */ /* ----------------------------------------------------------------------------- @@ -60,5 +62,9 @@ provider HaskellEvent { probe gc__idle (EventCapNo); probe gc__work (EventCapNo); probe gc__done (EventCapNo); + probe capset__create(EventCapsetID, EventCapsetType); + probe capset__delete(EventCapsetID); + probe capset__assign__cap(EventCapsetID, EventCapNo); + probe capset__remove__cap(EventCapsetID, EventCapNo); }; |