예제 #1
0
 public SystemNetTraceEventHandler(int pid, ITraceOutput output, bool printPacketBytes, int outputBytesLimit = 0)
 {
     traceOutput           = output;
     this.pid              = pid;
     this.printPacketBytes = printPacketBytes;
     this.outputBytesLimit = outputBytesLimit;
 }
예제 #2
0
 public ProcessThreadsTraceEventHandler(int pid, ITraceOutput output,
                                        Action <int> actionToPerformWhenNewProcessIsCreated)
 {
     traceOutput = output;
     this.pid    = pid;
     this.actionToPerformWhenNewProcessIsCreated = actionToPerformWhenNewProcessIsCreated;
 }
예제 #3
0
        public SystemDiagnosticsTraceEventHandler(int pid, ITraceOutput output)
        {
            traceOutput = output;
            this.pid    = pid;

            Providers = new [] {
                new EventPipeProvider(SystemDiagnosticsTraceEventParser.ProviderName, EventLevel.LogAlways),
            };
        }
예제 #4
0
        public SystemNetTraceEventHandler(int pid, ITraceOutput output, bool printPacketBytes, int outputBytesLimit = 0)
        {
            traceOutput           = output;
            this.pid              = pid;
            this.printPacketBytes = printPacketBytes;
            this.outputBytesLimit = outputBytesLimit;

            Providers = new[] {
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetHttpTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetHttpListenerTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetMailTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetNameResolutionTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetNetworkInformationTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetPingTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetPrimitivesTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetRequestsTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetSecurityTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetSocketsTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetWebHeaderCollectionTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF),
                new EventPipeProvider(EtwParsers.MicrosoftSystemNetWebSocketsClientTraceEventParser.ProviderName, EventLevel.Verbose, 0xFFFFFFFF)
            };
        }
예제 #5
0
 public RegistryTraceEventHandler(int pid, ITraceOutput traceOutput)
 {
     this.traceOutput = traceOutput;
     this.pid         = pid;
 }
예제 #6
0
 public IsrDpcTraceEventHandler(ITraceOutput traceOutput)
 {
     this.traceOutput = traceOutput;
 }
예제 #7
0
 public RpcTraceEventHandler(int pid, ITraceOutput output)
 {
     traceOutput = output;
     this.pid    = pid;
 }
예제 #8
0
 public TraceHandler(ITraceOutput traceOutput)
 {
     this.traceOutput = traceOutput;
 }
예제 #9
0
 public TraceSession(ITraceOutput traceOutput)
 {
     this.traceOutput = traceOutput;
     cts = new CancellationTokenSource();
 }
예제 #10
0
 public SystemDiagnosticsTraceEventHandler(int pid, ITraceOutput output)
 {
     traceOutput = output;
     this.pid    = pid;
 }
예제 #11
0
 public PowerShellTraceEventHandler(int pid, ITraceOutput output)
 {
     traceOutput = output;
     this.pid    = pid;
 }
예제 #12
0
 public TraceSession(ITraceOutput traceOutput)
 {
     this.traceOutput = traceOutput;
 }
예제 #13
0
 public TraceSession(ITraceOutput traceOutput, bool printSummary)
 {
     this.traceOutput  = traceOutput;
     this.printSummary = printSummary;
 }
예제 #14
0
 public SystemConfigTraceEventHandler(ITraceOutput output)
 {
     this.output = output;
 }