1 instantiation of AsyncProfilerEventSource
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfilerEventSource.cs (1)
15
public static readonly AsyncProfilerEventSource Log = new
AsyncProfilerEventSource
();
22 references to AsyncProfilerEventSource
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncInstrumentation.cs (1)
156
_ =
AsyncProfilerEventSource
.Log; // Touch AsyncProfilerEventSource to trigger static constructor which will initialize async profiler flags if EventSource is supported.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.cs (20)
846
AsyncProfilerEventSource
.Log.AsyncEvents(eventBuffer.Data.AsSpan(0, eventBuffer.Index));
1361
public static bool CreateRuntimeAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CreateRuntimeAsyncContext) != 0;
1362
public static bool ResumeRuntimeAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeRuntimeAsyncContext) != 0;
1363
public static bool SuspendRuntimeAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.SuspendRuntimeAsyncContext) != 0;
1364
public static bool CompleteRuntimeAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CompleteRuntimeAsyncContext) != 0;
1365
public static bool UnwindRuntimeAsyncExceptionEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.UnwindRuntimeAsyncException) != 0;
1366
public static bool CreateRuntimeAsyncCallstackEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CreateRuntimeAsyncCallstack) != 0;
1367
public static bool ResumeRuntimeAsyncCallstackEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeRuntimeAsyncCallstack) != 0;
1368
public static bool SuspendRuntimeAsyncCallstackEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.SuspendRuntimeAsyncCallstack) != 0;
1369
public static bool ResumeRuntimeAsyncMethodEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeRuntimeAsyncMethod) != 0;
1370
public static bool CompleteRuntimeAsyncMethodEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CompleteRuntimeAsyncMethod) != 0;
1371
public static bool CreateStateMachineAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CreateStateMachineAsyncContext) != 0;
1372
public static bool ResumeStateMachineAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeStateMachineAsyncContext) != 0;
1373
public static bool SuspendStateMachineAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.SuspendStateMachineAsyncContext) != 0;
1374
public static bool CompleteStateMachineAsyncContextEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CompleteStateMachineAsyncContext) != 0;
1375
public static bool UnwindStateMachineAsyncExceptionEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.UnwindStateMachineAsyncException) != 0;
1376
public static bool ResumeStateMachineAsyncCallstackEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeStateMachineAsyncCallstack) != 0;
1377
public static bool ResumeStateMachineAsyncMethodEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.ResumeStateMachineAsyncMethod) != 0;
1378
public static bool CompleteStateMachineAsyncMethodEvent(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.Keywords.CompleteStateMachineAsyncMethod) != 0;
1379
public static bool AnyAsyncEvents(EventKeywords eventKeywords) => (eventKeywords &
AsyncProfilerEventSource
.AsyncEventKeywords) != 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfilerEventSource.cs (1)
15
public static readonly
AsyncProfilerEventSource
Log = new AsyncProfilerEventSource();