-
Notifications
You must be signed in to change notification settings - Fork 374
/
Copy pathIpcCommands.cs
52 lines (45 loc) · 1.15 KB
/
IpcCommands.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Diagnostics.NETCore.Client
{
internal enum DiagnosticsServerCommandSet : byte
{
Dump = 0x01,
EventPipe = 0x02,
Profiler = 0x03,
Process = 0x04,
Server = 0xFF,
}
internal enum DiagnosticsServerResponseId : byte
{
OK = 0x00,
// future
Error = 0xFF,
}
internal enum EventPipeCommandId : byte
{
StopTracing = 0x01,
CollectTracing = 0x02,
CollectTracing2 = 0x03,
}
internal enum DumpCommandId : byte
{
GenerateCoreDump = 0x01,
GenerateCoreDump2 = 0x02,
GenerateCoreDump3 = 0x03,
GenerateCoreDump4 = 0x04,
}
internal enum ProfilerCommandId : byte
{
AttachProfiler = 0x01,
StartupProfiler = 0x02,
}
internal enum ProcessCommandId : byte
{
GetProcessInfo = 0x00,
ResumeRuntime = 0x01,
GetProcessEnvironment = 0x02,
SetEnvironmentVariable = 0x03,
GetProcessInfo2 = 0x04
}
}