Hook Types
The different hook types are:
SFT_HOOK_32BIT (0x0100)
Each data item is a ULONG.
The low 8 bits of the hook type indicate the total number of data items.
The maximum number of data items is 255.
SFT_HOOK_DATA
(0x0200)
Data is a buffer of 0 to 255 bytes. The
low 8 bits of the hook type indicate the length of the buffer.
SFT_HOOK_VARDATA
(0x0400)
Data consists of variable length items.
Low 8 bits of the hook type indicate the number of data items. Each data
item is preceded by a ULONG length indicator.
The maximum number of data items is 255. Length indicators are removed
as part of STRACE POST processing.
SFT_HOOK_VARDATA2
(0x0800)
Data consists of variable length items.
Low 8 bits of the hook type indicate the number of data items. Each data
item is preceded by a USHORT length indicator.
The maximum number of data items is 255. Length indicators are removed
as part of STRACE POST processing.
SFT_HOOK_TIMEHI
(0x1100)
Occurs when the high 32-bits of the time
stamp changes.
SFT_HOOK_STARTUP (0x2200)
Occurs
when STRACE is started.
SFT_HOOK_MTE (0x3400)
Occurs
when STRACE is started. Used by trace post-processors to get information
about loaded memory objects.
Hook examples are provided below. Entries from an STRACE.OUT file,
or other ASCII dump of the trace data generated by the STRACE POST command
is as follows:
[Back: STRACE ASCII Dump Format]
[Next: Timer high order 32 bits change hook (SFT_HOOK_TIMEHI)]