Editar

Compartilhar via


SyscallStreamingTraceSourceExtensions.UseSyscalls Method

Definition

Overloads

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(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.

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
ISyscallConsumer

The callback to call with the result.

Remarks

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

Applies to

UseSyscalls(IStreamingTraceSource, SyscallCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
SyscallCallback

The callback to register.

Applies to

UseSyscalls(IStreamingTraceSource, ConsumerSchedule, SyscallCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
SyscallCallback

The callback to register.

Applies to