TRACE_INFO_CLASS enumeration

Determines the type of information to include with the trace.

Syntax


typedef enum  { 
  TraceGuidQueryList,
  TraceGuidQueryInfo,
  TraceGuidQueryProcess,
  TraceStackTracingInfo,
  TraceSystemTraceEnableFlagsInfo,
  TraceSampledProfileIntervalInfo,
  TraceProfileSourceConfigInfo,
  TraceProfileSourceListInfo,
  TracePmcEventListInfo,
  TracePmcCounterListInfo,
  TraceSetDisallowList,
  TraceVersionInfo,
  TraceGroupQueryList,
  TraceGroupQueryInfo,
  TraceDisallowListQuery,
  TracePeriodicCaptureStateListInfo,
  TracePeriodicCaptureStateInfo,
  TraceProviderBinaryTracking,
  TraceMaxLoggersQuery,
  MaxTraceSetInfoClass
} TRACE_INFO_CLASS, TRACE_QUERY_INFO_CLASS;

Constants

TraceGuidQueryList

Query an array of GUIDs of the providers that are registered on the computer.

TraceGuidQueryInfo

Query information that each session used to enable the provider.

TraceGuidQueryProcess

Query an array of GUIDs of the providers that registered themselves in the same process as the calling process.

TraceStackTracingInfo

Query the setting for call stack tracing for kernel events.

The value is supported on Windows 7, Windows Server 2008 R2, and later.

TraceSystemTraceEnableFlagsInfo

Query the setting for the EnableFlags for the system trace provider. For more information, see the EVENT_TRACE_PROPERTIES structure.

The value is supported on Windows 8, Windows Server 2012, and later.

TraceSampledProfileIntervalInfo

Queries the setting for the sampling profile interval for the supplied source.

The value is supported on Windows 8, Windows Server 2012, and later.

TraceProfileSourceConfigInfo

Query which sources will be traced.

The value is supported on Windows 8, Windows Server 2012, and later.

TraceProfileSourceListInfo

Query the setting for sampled profile list information.

The value is supported on Windows 8, Windows Server 2012, and later.

TracePmcEventListInfo

Query the list of system events on which performance monitoring counters will be collected.

The value is supported on Windows 8, Windows Server 2012, and later.

TracePmcCounterListInfo

Query the list of performance monitoring counters to collect

The value is supported on Windows 8, Windows Server 2012, and later.

TraceSetDisallowList

Set the list of providers that are disabled for a provider group enable on this session. For more information, see Provider Traits

The value is supported on Windows 10.

TraceVersionInfo

Query the trace file version information.

The value is supported on Windows 10.

TraceGroupQueryList

Query an array of GUIDs of the provider groups that are active on the computer.

TraceGroupQueryInfo

Query information that each session used to enable the provider group.

TraceDisallowListQuery

Query an array of GUIDs that are disallowed for group enables on this session.

TracePeriodicCaptureStateListInfo

Query the list of periodic capture states to collect.

TracePeriodicCaptureStateInfo

Queries the settings used for periodic capture state.

TraceProviderBinaryTracking

Instructs ETW to begin tracking binaries for all providers that are enabled to the session. The tracking applies retroactively for providers that were enabled to the session prior to the call, as well as for all future providers that are enabled to the session.

ETW fabricates tracking events for these tracked providers that contain a mapping between provider GUID(s). ETW also fabricates the file path that describes where the registered provider is located on disk. If the session is in realtime, the events are provided live in the realtime buffers. If the session is file-based (i.e. trace is saved to an .etl file), the events are aggregated and written to the file header; they will be among some of the first events the ETW runtime provides when the .etl file is played back.

The binary tracking events will come from the EventTraceGuid provider, with an opcode of WMI_LOG_TYPE_BINARY_PATH.

The value is supported on Windows 10, version 1709 and later.

TraceMaxLoggersQuery

Queries the currently-configured maximum number of system loggers allowed by the operating system. Returns a ULONG. Used with EnumerateTraceGuidsEx.

The value is supported on Windows 10, version 1709 and later.

MaxTraceSetInfoClass

Marks the last value in the enumeration. Do not use.

Remarks

The TRACE_INFO_CLASS and TRACE_QUERY_INFO_CLASS enumerations both define the same values. Use both enumerations with the EnumerateTraceGuidsEx function or the TraceSetInformation function.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Evntrace.h

See also

TraceSetInformation
EnumerateTraceGuidsEx

 

 

Show: