New Trace Event Types

These new types "turn on" stack tracing events in the STACK_TRACING_EVENT_ID structure.

#define EVENT_TRACE_TYPE_READYTHREAD        0x32

This flag enables stack tracing for Ready Thread events. The trace type is also published in wmicore.mof file for Windows 7 and Windows Server 2008.

#define EVENT_TRACE_TYPE_VIRTUAL_ALLOC      0x62

This flag enables stack tracing for virtual memory allocation events. The trace type is also published in wmicore.mof file for Windows 7 and Windows Server 2008.

#define EVENT_TRACE_TYPE_VIRTUAL_FREE       0x63

This flag enables stack tracing for virtual memory free events. The trace type is also published in wmicore.mof file for Windows 7 and Windows Server 2008.

Remarks

These event types are similar to the event types used in the EVENT_TRACE_PROPERTIES.EnableFlags member but are particular to the Kernel Trace Control API.

Requirements

Version
Available in Windows Vista and later versions of the Windows operating system. This structure is distributed with the Windows Performance Analyzer.
Header
KernelTraceControl.h (include KernelTraceControl.h)
Library
KernelTraceControl.dll

See also

EVENT_INSTANCE_HEADER