Edit

Share via


TraceProcessor Class

Definition

public sealed class TraceProcessor : IDisposable, Microsoft.Windows.EventTracing.IStreamingTraceSource, Microsoft.Windows.EventTracing.ITraceProcessor
type TraceProcessor = class
    interface ITraceProcessor
    interface ITraceSource
    interface IDisposable
    interface IStreamingTraceSource
Public NotInheritable Class TraceProcessor
Implements IDisposable, IStreamingTraceSource, ITraceProcessor
Inheritance
TraceProcessor
Implements

Properties

Properties
Settings

Methods

Create(String, ITraceProcessorSettings)
Create(String)
Dispose()
Process()
Process(IProgress<TraceProcessingProgress>)
Use(IEventConsumer)
UseCompletion(ICompletable)

Explicit Interface Implementations

IStreamingTraceSource.Trace

Extension Methods

UseReadyBootData(ITraceSource)

Provides data from a trace about boot prefetching activity from Ready Boot.

UseCompactContextSwitchEvents(IStreamingTraceSource, ConsumerSchedule, CompactContextSwitchEventCallback)

Registers a callback to receive parsed compact context switch events when the trace is processed.

UseCompactContextSwitchEvents(IStreamingTraceSource, CompactContextSwitchEventCallback)

Registers a callback to receive parsed compact context switch events when the trace is processed.

UseCompactContextSwitchEvents(IStreamingTraceSource, ICompactContextSwitchEventConsumer)

Registers a consumer to receive parsed compact context switch events when the trace is processed.

UseContextSwitchData(IStreamingTraceSource, ConsumerSchedule, ContextSwitchCallback)

Registers a callback to receive context switch data when the trace is processed.

UseContextSwitchData(IStreamingTraceSource, ContextSwitchCallback)

Registers a callback to receive context switch data when the trace is processed.

UseContextSwitchData(IStreamingTraceSource, IContextSwitchConsumer)

Registers a consumer to receive context switch data when the trace is processed.

UseContextSwitchEvents(IStreamingTraceSource, ConsumerSchedule, ContextSwitchEventCallback)

Registers a callback to receive parsed context switch events when the trace is processed.

UseContextSwitchEvents(IStreamingTraceSource, ContextSwitchEventCallback)

Registers a callback to receive parsed context switch events when the trace is processed.

UseContextSwitchEvents(IStreamingTraceSource, IContextSwitchEventConsumer)

Registers a consumer to receive parsed context switch events when the trace is processed.

UseLastBranchRecordEvents(IStreamingTraceSource, ConsumerSchedule, LastBranchRecordEventCallback)

Registers a callback to receive parsed last branch record (LBR) events when the trace is processed.

UseLastBranchRecordEvents(IStreamingTraceSource, ILastBranchRecordEventConsumer)

Registers a consumer to receive parsed last branch record (LBR) events when the trace is processed.

UseLastBranchRecordEvents(IStreamingTraceSource, LastBranchRecordEventCallback)

Registers a callback to receive parsed last branch record (LBR) events when the trace is processed.

UseReadyThreadEvents(IStreamingTraceSource, ConsumerSchedule, ReadyThreadEventCallback)

Registers a callback to receive parsed ready thread events when the trace is processed.

UseReadyThreadEvents(IStreamingTraceSource, IReadyThreadEventConsumer)

Registers a consumer to receive parsed ready thread events when the trace is processed.

UseReadyThreadEvents(IStreamingTraceSource, ReadyThreadEventCallback)

Registers a callback to receive parsed ready thread events when the trace is processed.

UseContextSwitchData(ITraceSource, Boolean)

Provides data from a trace about processor context switches.

UseContextSwitchData(ITraceSource)

Provides data from a trace about processor context switches.

UseCpuSamplingData(ITraceSource)

Provides data from a trace about CPU usage based on periodic sampling of the instruction pointer.

UseCpuSchedulingData(ITraceSource)

Provides data from a trace about CPU thread scheduling, including context switches and ready thread events.

UseInterruptHandlingData(ITraceSource)

Provides data from a trace about Interrupt Service Routine (ISR) and Deferred Procedure Call (DPC) activity.

UseLastBranchRecordData(ITraceSource)

Provides data about processor last branch record (LBR) activity during a trace.

UseProcessorCounters(ITraceSource)

Provides data from a trace about processor performance counter values from Processor Counter Monitor (PCM).

UseReadyThreadData(ITraceSource, Boolean)

Provides data from a trace about ready thread events.

UseReadyThreadData(ITraceSource)

Provides data from a trace about ready thread events.

UseDiskIOData(ITraceSource)

Provides data from a trace about Disk I/O activity.

UseFileIOData(ITraceSource)

Provides data from a trace about File I/O activity.

UseClassicEvents(ITraceSource)

Provides classic ETW events from a trace, which do not include schema information.

UseGenericEvents(ITraceSource, GenericEventSettings)

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource, Guid[])

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource)

Provides manifested and TraceLogging events from a trace.

UseStackEvents(ITraceSource)

Provides data about events associated with stacks recorded during a trace.

UseTraceStatistics(ITraceSource)

Provides statistics about the events in a trace.

UseWindowsTracePreprocessorEvents(ITraceSource)

Provides Windows software trace preprocessor (WPP) events from a trace.

UseDirectXData(ITraceSource)

Provides data from a trace about DirectX activity.

UseHypercalls(ITraceSource)

Provides data about Hyper-V hypercalls that occured during a trace.

UseHypervisorPartitionData(ITraceSource)

Provides data about the Hyper-V partition the trace was recorded in.

UseHandles(ITraceSource)

Provides partial data from a trace about active kernel handles.

UseHardFaults(ITraceSource)

Provides data from a trace about hard page faults.

UseHeapSnapshots(ITraceSource)

Provides data from a trace about process heap usage.

UseMemoryUtilizationData(ITraceSource)

Provides data from a trace about total system memory utilization.

UsePoolAllocations(ITraceSource)

Provides data from a trace about kernel pool memory usage.

UseReferenceSetData(ITraceSource)

Provides data from a trace about pages of virtual memory used by each process.

UseResidentSetData(ITraceSource)

Provides data from a trace about the pages of virtual memory for each process that were resident in physical memory.

UseWorkingSetData(ITraceSource)

Provides data from a trace about pages of virtual memory that were in the working set for each process or kernel category.

UseMarks(ITraceSource)

Provides the marks (labeled timestamps) from a trace.

UseRundownData(ITraceSource)

Provides data from a trace about intervals during which trace rundown data collection occurred.

UseSystemMetadata(ITraceSource)

Provides general, system-wide metadata from a trace.

UseWinINetData(ITraceSource)

Provides data from a trace about internet activity via Windows Internet (WinINet).

UseConnectedStandbyData(ITraceSource)

Provides data from a trace about the system entering and exiting connected standby.

UseCpuIdleStates(ITraceSource)

Provides data from a trace about CPU C-states.

UseDevicePowerData(ITraceSource)

Provides data from a trace about device D-states.

UseEnergyEstimationData(ITraceSource)

Provides data from a trace about estimated per-process energy usage from Energy Estimation Engine.

UseEnergyMeterData(ITraceSource)

Provides data from a trace about measured energy usage from Energy Meter Interface (EMI).

UsePlatformIdleStates(ITraceSource)

Provides data from a trace about the target and actual platform idle states of a system.

UsePowerConfigurationData(ITraceSource)

Provides data from a trace about system power configuration.

UsePowerDependencyCoordinatorData(ITraceSource)

Provides data from a trace about active power dependency coordinator phases.

UseProcessorFrequencyData(ITraceSource)

Provides data from a trace about the frequency at which processors ran.

UseProcessorParkingData(ITraceSource)

Provides data from a trace about which processors were parked or unparked.

UseProcessorParkingLimits(ITraceSource)

Provides data from a trace about the maximum allowed number of unparked processors.

UseProcessorProfileData(ITraceSource)

Provides data from a trace about the active processor power profile.

UseProcessorQualityOfServiceData(ITraceSource)

Provides data from a trace about the quality of service level for each processor.

UseProcessorThrottlingData(ITraceSource)

Provides data from a trace about processor maximum frequency throttling.

UseSystemPowerSourceData(ITraceSource)

Provides data from a trace about the active system power source (AC vs DC).

UseSystemSleepData(ITraceSource)

Provides data from a trace about overall system power state.

UseTargetCpuIdleStates(ITraceSource)

Provides data from a trace about target CPU C-states.

UseTargetProcessorFrequencyData(ITraceSource)

Provides data from a trace about target processor frequencies.

UseThreadCreateEvents(IStreamingTraceSource, ConsumerSchedule, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

UseThreadCreateEvents(IStreamingTraceSource, IThreadCreateEventConsumer)

Registers a consumer to receive parsed thread create events when the trace is processed.

UseThreadCreateEvents(IStreamingTraceSource, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

UseThreadExitEvents(IStreamingTraceSource, ConsumerSchedule, ThreadExitEventCallback)

Registers a callback to receive parsed thread exit events when the trace is processed.

UseThreadExitEvents(IStreamingTraceSource, IThreadExitEventConsumer)

Registers a consumer to receive parsed thread exit events when the trace is processed.

UseThreadExitEvents(IStreamingTraceSource, ThreadExitEventCallback)

Registers a callback to receive parsed thread exit events when the trace is processed.

UseThreadRundownStartEvents(IStreamingTraceSource, ConsumerSchedule, ThreadRundownStartEventCallback)

Registers a callback to receive parsed thread rundown start events when the trace is processed.

UseThreadRundownStartEvents(IStreamingTraceSource, IThreadRundownStartEventConsumer)

Registers a consumer to receive parsed thread rundown start events when the trace is processed.

UseThreadRundownStartEvents(IStreamingTraceSource, ThreadRundownStartEventCallback)

Registers a callback to receive parsed thread rundown start events when the trace is processed.

UseThreadRundownStopEvents(IStreamingTraceSource, ConsumerSchedule, ThreadRundownStopEventCallback)

Registers a callback to receive parsed thread rundown stop events when the trace is processed.

UseThreadRundownStopEvents(IStreamingTraceSource, IThreadRundownStopEventConsumer)

Registers a consumer to receive parsed thread rundown stop events when the trace is processed.

UseThreadRundownStopEvents(IStreamingTraceSource, ThreadRundownStopEventCallback)

Registers a callback to receive parsed thread rundown stop events when the trace is processed.

UseThreadSetNameEvents(IStreamingTraceSource, ConsumerSchedule, ThreadSetNameEventCallback)

Registers a callback to receive parsed thread set name events when the trace is processed.

UseThreadSetNameEvents(IStreamingTraceSource, IThreadSetNameEventConsumer)

Registers a consumer to receive parsed thread set name events when the trace is processed.

UseThreadSetNameEvents(IStreamingTraceSource, ThreadSetNameEventCallback)

Registers a callback to receive parsed thread set name events when the trace is processed.

UseImageSections(ITraceSource)

Provides data from a trace about the sections of an image.

UseProcesses(ITraceSource)

Provides data about processes active during a trace as well as their images and PDBs.

UseThreads(ITraceSource, Boolean)

Provides data about threads active during a trace.

UseThreads(ITraceSource)

Provides data about threads active during a trace.

UseRegionsOfInterest(ITraceSource)

Provides named regions of interest intervals from a trace as specified in an xml configuration file.

UseRegistryData(ITraceSource)

Provides data about registry activity during a trace.

UseScheduledTasks(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskCallback)

Registers a consumer to receive scheduled task data when the trace is processed.

UseScheduledTasks(IStreamingTraceSource, IScheduledTaskConsumer)

Registers a consumer to receive scheduled task data when the trace is processed.

UseScheduledTasks(IStreamingTraceSource, ScheduledTaskCallback)

Registers a consumer to receive scheduled task data when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, IScheduledTaskStartEventConsumer)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStopEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStopEventCallback)

Registers a consumer to receive parsed scheduled task stop events when the trace is processed.

UseScheduledTaskStopEvents(IStreamingTraceSource, IScheduledTaskStopEventConsumer)

Registers a consumer to receive parsed scheduled task stop events when the trace is processed.

UseScheduledTaskStopEvents(IStreamingTraceSource, ScheduledTaskStopEventCallback)

Registers a consumer to receive parsed scheduled task stop events when the trace is processed.

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskTriggerEventCallback)

Registers a consumer to receive parsed scheduled task trigger events when the trace is processed.

UseScheduledTaskTriggerEvents(IStreamingTraceSource, IScheduledTaskTriggerEventConsumer)

Registers a consumer to receive parsed scheduled task trigger events when the trace is processed.

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ScheduledTaskTriggerEventCallback)

Registers a consumer to receive parsed scheduled task trigger events when the trace is processed.

UseScheduledTasks(ITraceSource)

Provides data about scheduled tasks that ran during a trace.

UseServices(ITraceSource)

Provides data about services that were active or had their state captured during a trace.

UseUnparsedEvents(IStreamingTraceSource, ConsumerSchedule, TraceEventCallback)

Registers a callback to receive events when the trace is processed.

UseUnparsedEvents(IStreamingTraceSource, IEventConsumer)

Registers a consumer to receive events when the trace is processed.

UseUnparsedEvents(IStreamingTraceSource, TraceEventCallback)

Registers a callback to receive events when the trace is processed.

UseUnparsedEvents(IStreamingTraceSource, IReadOnlyList<Guid>, ConsumerSchedule, TraceEventCallback)

Registers a callback to receive events from specified providers when the trace is processed.

UseUnparsedEvents(IStreamingTraceSource, IReadOnlyList<Guid>, TraceEventCallback)

Registers a callback to receive events from specified providers when the trace is processed.

UseStacks(ITraceSource)

Provides data about stacks recorded during a trace.

UseStackTags(ITraceSource)

Provides a mapper that groups stacks from a trace into stack tags as specified in an XML configuration file.

UseSymbols(ITraceSource)

Provides the ability to load symbols for a trace.

UseSyscallEnterEvents(IStreamingTraceSource, ConsumerSchedule, SyscallEnterEventCallback)

Registers a callback to receive parsed syscall enter events when the trace is processed.

UseSyscallEnterEvents(IStreamingTraceSource, ISyscallEnterEventConsumer)

Registers a consumer to receive parsed syscall enter events when the trace is processed.

UseSyscallEnterEvents(IStreamingTraceSource, SyscallEnterEventCallback)

Registers a callback to receive parsed syscall enter events when the trace is processed.

UseSyscallExitEvents(IStreamingTraceSource, ConsumerSchedule, SyscallExitEventCallback)

Registers a callback to receive parsed syscall exit events when the trace is processed.

UseSyscallExitEvents(IStreamingTraceSource, ISyscallExitEventConsumer)

Registers a consumer to receive parsed syscall exit events when the trace is processed.

UseSyscallExitEvents(IStreamingTraceSource, SyscallExitEventCallback)

Registers a callback to receive parsed syscall exit events when the trace is processed.

UseSyscalls(IStreamingTraceSource, ConsumerSchedule, SyscallCallback)

Registers a callback to receive system call data when the trace is processed.

UseSyscalls(IStreamingTraceSource, ISyscallConsumer)

Registers a consumer to receive system call data when the trace is processed.

UseSyscalls(IStreamingTraceSource, SyscallCallback)

Registers a callback to receive system call data when the trace is processed.

UseSyscalls(ITraceSource)

Provides data about syscalls that occurred during a trace.

Process(ITraceProcessor, Stream, Stream, IProgress<TraceProcessingProgress>)
Process(ITraceProcessor, Stream, Stream)
Use(ITraceSource, TraceEventCallback)

Registers a callback to receive events when the trace is processed.

Use(ITraceSource, IReadOnlyList<Guid>, TraceEventCallback)

Registers a callback to receive events from specified providers when the trace is processed.

UseMetadata(ITraceSource)

Provides trace metadata available without further processing.

UsePending<TDataSource>(ITraceSource, IProvider<TDataSource>, ConsumerSchedule)

Registers a data source provider to make its data source available at a later point in trace processing.

UsePendingPerTrace<T>(ITraceSource, Object, IProvider<IProvider<T>>, ConsumerSchedule)
UsePendingPerTrace<T>(ITraceSource, Object, Func<IProvider<T>>, ConsumerSchedule)
UseStreaming(ITraceSource)

Provides streaming (non-buffered) data from the trace.

UseTraceTimestampContext(ITraceSource)

Provides a context to interpret a TraceTimestampValue.

UseTwoPassCompletion(ITraceSource, ICompletableTwoPassEventConsumer)

Registers a consumer to receive events when the trace is processed across two passes.

UseUtcData(ITraceSource)

Provides data from a trace about Microsoft telemetry activity using Universal Telemetry Client (UTC).

UseFocusChangeEvents(IStreamingTraceSource, ConsumerSchedule, FocusChangeEventCallback)

Registers a consumer to receive parsed FocusChange events when the trace is processed.

UseFocusChangeEvents(IStreamingTraceSource, FocusChangeEventCallback)

Registers a consumer to receive parsed FocusChange events when the trace is processed.

UseFocusChangeEvents(IStreamingTraceSource, IFocusChangeEventConsumer)

Registers a consumer to receive parsed FocusChange events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ConsumerSchedule, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ISessionLayerSetActiveWindowEventConsumer)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseWindowInFocus(IStreamingTraceSource, ConsumerSchedule, WindowInFocusIntervalCallback)

Registers a consumer to receive window-in-focus data when the trace is processed.

UseWindowInFocus(IStreamingTraceSource, IWindowInFocusIntervalConsumer)

Registers a consumer to receive window-in-focus data when the trace is processed.

UseWindowInFocus(IStreamingTraceSource, WindowInFocusIntervalCallback)

Registers a consumer to receive window-in-focus data when the trace is processed.

UseWindowInFocus(ITraceSource)

Provides data from a trace about changes to the active UI window in focus.

Applies to