@@ -31,13 +31,13 @@ private SampleProfilerSession(SentryStopwatch stopwatch, EventPipeSession sessio
31
31
// Exposed only for benchmarks.
32
32
internal static EventPipeProvider [ ] Providers = new [ ]
33
33
{
34
- // Note: all events we need issued by "DotNETRuntime" provider are at " EventLevel.Informational"
35
- // see https://learn.microsoft.com/en-us/dotnet/fundamentals/diagnostics/runtime-events
36
- // TODO replace Keywords.Default with a subset. Currently it is:
37
- // Default = GC | Type | GCHeapSurvivalAndMovement | Binder | Loader | Jit | NGen | SupressNGen
38
- // | StopEnumeration | Security | AppDomainResourceManagement | Exception | Threading | Contention | Stack | JittedMethodILToNativeMap
39
- // | ThreadTransfer | GCHeapAndTypeNames | Codesymbols | Compilation,
40
- new EventPipeProvider ( ClrTraceEventParser . ProviderName , EventLevel . Verbose , ( long ) ClrTraceEventParser . Keywords . Default ) ,
34
+ new EventPipeProvider ( ClrTraceEventParser . ProviderName , EventLevel . Verbose , ( long ) (
35
+ ClrTraceEventParser . Keywords . Jit
36
+ | ClrTraceEventParser . Keywords . NGen
37
+ | ClrTraceEventParser . Keywords . Loader
38
+ | ClrTraceEventParser . Keywords . Binder
39
+ | ClrTraceEventParser . Keywords . JittedMethodILToNativeMap
40
+ ) ) ,
41
41
new EventPipeProvider ( SampleProfilerTraceEventParser . ProviderName , EventLevel . Informational ) ,
42
42
// new EventPipeProvider(TplEtwProviderTraceEventParser.ProviderName, EventLevel.Informational, (long) TplEtwProviderTraceEventParser.Keywords.Default)
43
43
} ;
0 commit comments