59 references to IsEnabled
System.Private.CoreLib (59)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.CoreCLR.cs (16)
48
if (
IsEnabled
.AnyAsyncEvents(eventKeywords))
54
if (
IsEnabled
.CreateRuntimeAsyncContextEvent(eventKeywords))
59
if (
IsEnabled
.CreateRuntimeAsyncCallstackEvent(eventKeywords) && nextContinuation != null)
87
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
90
if (
IsEnabled
.ResumeRuntimeAsyncContextEvent(activeEventKeywords))
95
if (
IsEnabled
.ResumeRuntimeAsyncCallstackEvent(activeEventKeywords))
121
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
125
if (
IsEnabled
.SuspendRuntimeAsyncCallstackEvent(activeEventKeywords) && nextContinuation != null)
130
if (
IsEnabled
.SuspendRuntimeAsyncContextEvent(activeEventKeywords))
148
if (
IsEnabled
.CompleteRuntimeAsyncContextEvent(context.ActiveEventKeywords))
164
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
167
if (
IsEnabled
.UnwindRuntimeAsyncExceptionEvent(activeEventKeywords))
172
if (
IsEnabled
.CompleteRuntimeAsyncContextEvent(activeEventKeywords))
185
if (
IsEnabled
.UnwindRuntimeAsyncExceptionEvent(context.ActiveEventKeywords))
200
if (
IsEnabled
.ResumeRuntimeAsyncMethodEvent(context.ActiveEventKeywords))
215
if (
IsEnabled
.CompleteRuntimeAsyncMethodEvent(context.ActiveEventKeywords))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.cs (43)
203
if (
IsEnabled
.AnyAsyncEvents(ActiveEventKeywords))
301
if (
IsEnabled
.AnyAsyncEvents(ActiveEventKeywords))
366
flags |=
IsEnabled
.CreateRuntimeAsyncContextEvent(ActiveEventKeywords) ||
IsEnabled
.CreateRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CreateAsyncContext : AsyncInstrumentation.Flags.Disabled;
367
flags |=
IsEnabled
.ResumeRuntimeAsyncContextEvent(ActiveEventKeywords) ||
IsEnabled
.ResumeRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled;
368
flags |=
IsEnabled
.SuspendRuntimeAsyncContextEvent(ActiveEventKeywords) ||
IsEnabled
.SuspendRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.SuspendAsyncContext : AsyncInstrumentation.Flags.Disabled;
369
flags |=
IsEnabled
.CompleteRuntimeAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncContext : AsyncInstrumentation.Flags.Disabled;
370
flags |=
IsEnabled
.UnwindRuntimeAsyncExceptionEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.UnwindAsyncException : AsyncInstrumentation.Flags.Disabled;
371
flags |=
IsEnabled
.ResumeRuntimeAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncMethod : AsyncInstrumentation.Flags.Disabled;
372
flags |=
IsEnabled
.CompleteRuntimeAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncMethod : AsyncInstrumentation.Flags.Disabled;
373
flags |=
IsEnabled
.CreateStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CreateAsyncContext : AsyncInstrumentation.Flags.Disabled;
374
flags |=
IsEnabled
.ResumeStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled;
375
flags |=
IsEnabled
.SuspendStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.SuspendAsyncContext : AsyncInstrumentation.Flags.Disabled;
376
flags |=
IsEnabled
.CompleteStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncContext : AsyncInstrumentation.Flags.Disabled;
377
flags |=
IsEnabled
.UnwindStateMachineAsyncExceptionEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.UnwindAsyncException : AsyncInstrumentation.Flags.Disabled;
378
flags |=
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled;
379
flags |=
IsEnabled
.ResumeStateMachineAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncMethod : AsyncInstrumentation.Flags.Disabled;
380
flags |=
IsEnabled
.CompleteStateMachineAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncMethod : AsyncInstrumentation.Flags.Disabled;
928
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
931
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords))
936
if (
IsEnabled
.CreateStateMachineAsyncContextEvent(activeEventKeywords))
955
if (
IsEnabled
.CreateStateMachineAsyncContextEvent(context.ActiveEventKeywords))
973
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords) &&
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords))
1018
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
1021
if (
IsEnabled
.ResumeStateMachineAsyncContextEvent(activeEventKeywords))
1026
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords))
1035
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(context.ActiveEventKeywords) && info.ContinuationChainChanged)
1043
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(context.ActiveEventKeywords) && info.AsyncProfilerInfo.ReachedLastContinuation)
1078
if (
IsEnabled
.SuspendStateMachineAsyncContextEvent(context.ActiveEventKeywords))
1102
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
1105
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords))
1110
if (
IsEnabled
.CompleteStateMachineAsyncContextEvent(activeEventKeywords))
1132
if (
IsEnabled
.UnwindStateMachineAsyncExceptionEvent(context.ActiveEventKeywords))
1163
if (
IsEnabled
.AnyAsyncEvents(activeEventKeywords))
1166
if (
IsEnabled
.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords))
1171
if (
IsEnabled
.ResumeStateMachineAsyncMethodEvent(activeEventKeywords))
1199
if (
IsEnabled
.CompleteStateMachineAsyncMethodEvent(context.ActiveEventKeywords))
1255
if (
IsEnabled
.AnyAsyncEvents(context.ActiveEventKeywords))
1317
if (
IsEnabled
.AnyAsyncEvents(context.ActiveEventKeywords))
1460
if (
IsEnabled
.AnyAsyncEvents(Config.ActiveEventKeywords))