Event tracing: put the capability in the block marker, omit it from the events
authorSimon Marlow <marlowsd@gmail.com>
Tue, 15 Sep 2009 11:12:27 +0000 (11:12 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 15 Sep 2009 11:12:27 +0000 (11:12 +0000)
commite459b0d1199bff41cb92678493e4f462cea8aaf6
tree5255bd0fb5abd779a26f6f8f84174928e40eba85
parentd71615757d0462b1721ee3664c5fa9f79325d666
Event tracing: put the capability in the block marker, omit it from the events
This makes events smaller and tracing quicker, and speeds up reading
and sorting the trace file.

HEADS UP: this changes the format of event log files.  Corresponding
changes to the ghc-events package are required (and will be pushed
soon).  Normally we would make backwards-compatible changes, but this
changes the format of every event (to remove the capability) so I'm
breaking the rules this time.  This will be the only time we can do
this, since the format becomes public in 6.12.1.
includes/rts/EventLogFormat.h
rts/eventlog/EventLog.c