編輯

共用方式為


SyscallStreamingTraceSourceExtensions.UseSyscallEnterEvents Method

Definition

Overloads

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.

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.

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
ISyscallEnterEventConsumer

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

UseSyscallEnterEvents(IStreamingTraceSource, SyscallEnterEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
SyscallEnterEventCallback

The callback to register.

Applies to

UseSyscallEnterEvents(IStreamingTraceSource, ConsumerSchedule, SyscallEnterEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
SyscallEnterEventCallback

The callback to register.

Applies to