共用方式為


EVENT_TRACE_FLAG_VIRTUAL_ALLOC

This flag enables capture of virtual allocations and free events.

#define EVENT_TRACE_FLAG_VIRTUAL_ALLOC 0x00004000

Remarks

A single kernel trace control flag enables or disables logging of a kernel event type. For more information about kernel flags and corresponding kernel events, see EVENT_TRACE_PROPERTIES Structure.

Requirements:

  • Versions: Available beginning in Windows Vista®. This structure is distributed with Windows Performance Analyzer.

  • Headers: Declared in KernelTraceControl.h. Include KernelTraceControl.h.

  • Library: Contained in KernelTraceControl.dll.

See Also

Other Resources

Trace Control Flags