Possible Forms of a trace Event Record
A trace event can take several forms.
An event consists of the following:
- Hookword
- Data words (optional)
- A TID, or thread identifier
- Timestamp
An event record should be as short as possible. Many system events use only the hookword and timestamp. There is another event type you should seldom use because it is less efficient. It is a long format that allows you to record a variable length data. In this long form, the 16-bit data field of the hookword is converted to a length field that describes the length of the event record.