編輯

共用方式為


SyscallStreamingTraceSourceExtensions.UseSyscallExitEvents Method

Definition

Overloads

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.

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.

public static void UseSyscallExitEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.Syscalls.ISyscallExitEventConsumer consumer);
static member UseSyscallExitEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.Syscalls.ISyscallExitEventConsumer -> unit
<Extension()>
Public Sub UseSyscallExitEvents (streamingTrace As IStreamingTraceSource, consumer As ISyscallExitEventConsumer)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
ISyscallExitEventConsumer

The callback to call with the event parsing result.

Remarks

Event consumers that need to run in a specific pass can inherit from IScheduledConsumer.

Applies to

UseSyscallExitEvents(IStreamingTraceSource, SyscallExitEventCallback)

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

public static void UseSyscallExitEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.Syscalls.SyscallExitEventCallback process);
static member UseSyscallExitEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.Syscalls.SyscallExitEventCallback -> unit
<Extension()>
Public Sub UseSyscallExitEvents (streamingTrace As IStreamingTraceSource, process As SyscallExitEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
SyscallExitEventCallback

The callback to register.

Applies to

UseSyscallExitEvents(IStreamingTraceSource, ConsumerSchedule, SyscallExitEventCallback)

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

public static void UseSyscallExitEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.ConsumerSchedule schedule, Microsoft.Windows.EventTracing.Syscalls.SyscallExitEventCallback process);
static member UseSyscallExitEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.ConsumerSchedule * Microsoft.Windows.EventTracing.Syscalls.SyscallExitEventCallback -> unit
<Extension()>
Public Sub UseSyscallExitEvents (streamingTrace As IStreamingTraceSource, schedule As ConsumerSchedule, process As SyscallExitEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
SyscallExitEventCallback

The callback to register.

Applies to