8[EventSource(
Guid =
"E13C0D23-CCBC-4E12-931B-D9CC2EEE27E4",
Name =
"Microsoft-Windows-DotNETRuntime")]
13 public const string WorkerThread =
"ActiveWorkerThreadCount={0};\nRetiredWorkerThreadCount={1};\nClrInstanceID={2}";
19 public const string WorkerThreadAdjustmentStats =
"Duration={0};\nThroughput={1};\nThreadWave={2};\nThroughputWave={3};\nThroughputErrorEstimate={4};\nAverageThroughputErrorEstimate={5};\nThroughputRatio={6};\nConfidence={7};\nNewControlSetting={8};\nNewThreadWaveMagnitude={9};\nClrInstanceID={10}";
21 public const string IOEnqueue =
"NativeOverlapped={0};\nOverlapped={1};\nMultiDequeues={2};\nClrInstanceID={3}";
23 public const string IO =
"NativeOverlapped={0};\nOverlapped={1};\nClrInstanceID={2}";
151 34, 0, 77, 105, 99, 114, 111, 115, 111, 102,
152 116, 45, 87, 105, 110, 100, 111, 119, 115, 45,
153 68, 111, 116, 78, 69, 84, 82, 117, 110, 116,
179 internal static extern void LogThreadPoolWorkerThreadAdjustmentStats(
double Duration,
double Throughput,
double ThreadPoolWorkerThreadWait,
double ThroughputWave,
double ThroughputErrorEstimate,
double AverageThroughputErrorEstimate,
double ThroughputRatio,
double Confidence,
double NewControlSetting, ushort NewThreadWaveMagnitude, ushort ClrInstanceID);
205 OSThreadId = (int)osThreadID,
206 TimeStamp = timeStamp,
259 [
Event(56, Level =
EventLevel.Verbose, Message =
"Duration={0};\nThroughput={1};\nThreadWave={2};\nThroughputWave={3};\nThroughputErrorEstimate={4};\nAverageThroughputErrorEstimate={5};\nThroughputRatio={6};\nConfidence={7};\nNewControlSetting={8};\nNewThreadWaveMagnitude={9};\nClrInstanceID={10}",
Task = (
EventTask)18, Opcode = (
EventOpcode)102,
Version = 0, Keywords = (
EventKeywords)65536
L)]
260 public void ThreadPoolWorkerThreadAdjustmentStats(
double Duration,
double Throughput,
double ThreadWave,
double ThroughputWave,
double ThroughputErrorEstimate,
double AverageThroughputErrorEstimate,
double ThroughputRatio,
double Confidence,
double NewControlSetting, ushort NewThreadWaveMagnitude, ushort ClrInstanceID = 0)
264 LogThreadPoolWorkerThreadAdjustmentStats(Duration, Throughput, ThreadWave, ThroughputWave, ThroughputErrorEstimate, AverageThroughputErrorEstimate, ThroughputRatio, Confidence, NewControlSetting, NewThreadWaveMagnitude, ClrInstanceID);
311 private void GCStart_V2(uint Count, uint Depth, uint Reason, uint
Type, ushort ClrInstanceID, ulong ClientSequenceNumber)
317 private void GCEnd_V1(uint Count, uint Depth, ushort ClrInstanceID)
329 private void GCHeapStats_V2(ulong GenerationSize0, ulong TotalPromotedSize0, ulong GenerationSize1, ulong TotalPromotedSize1, ulong GenerationSize2, ulong TotalPromotedSize2, ulong GenerationSize3, ulong TotalPromotedSize3, ulong FinalizationPromotedSize, ulong FinalizationPromotedCount, uint PinnedObjectCount, uint SinkBlockCount, uint GCHandleCount, ushort ClrInstanceID, ulong GenerationSize4, ulong TotalPromotedSize4)
365 private void GCAllocationTick_V4(uint AllocationAmount, uint AllocationKind, ushort ClrInstanceID, ulong AllocationAmount64,
IntPtr TypeID,
string TypeName, uint HeapIndex,
IntPtr Address, ulong ObjectSize)
395 private void BulkType(uint Count, ushort ClrInstanceID)
443 private void GCGenerationRange(
byte Generation,
IntPtr RangeStart, ulong RangeUsedLength, ulong RangeReservedLength, ushort ClrInstanceID)
479 private void SetGCHandle(
IntPtr HandleID,
IntPtr ObjectID, uint Kind, uint Generation, ulong AppDomainID, ushort ClrInstanceID)
515 private void GCBulkRCW(uint Count, ushort ClrInstanceID)
611 private void MethodDetails(ulong MethodID, ulong TypeID, uint MethodToken, uint TypeParameterCount, ulong LoaderModuleID)
623 private void TypeLoadStop(uint TypeLoadStartID, ushort ClrInstanceID, ushort LoadLevel, ulong TypeID,
string TypeName)
629 private void ExceptionThrown_V1(
string ExceptionType,
string ExceptionMessage,
IntPtr ExceptionEIP, uint ExceptionHRESULT, ushort ExceptionFlags, ushort ClrInstanceID)
701 private void AppDomainMemSurvived(ulong AppDomainID, ulong Survived, ulong ProcessSurvived, ushort ClrInstanceID)
707 private void ThreadCreated(ulong ManagedThreadID, ulong AppDomainID, uint Flags, uint ManagedThreadIndex, uint OSThreadID, ushort ClrInstanceID)
713 private void ThreadTerminated(ulong ManagedThreadID, ulong AppDomainID, ushort ClrInstanceID)
725 private void ILStubGenerated(ushort ClrInstanceID, ulong ModuleID, ulong StubMethodID, uint StubFlags, uint ManagedInteropMethodToken,
string ManagedInteropMethodNamespace,
string ManagedInteropMethodName,
string ManagedInteropMethodSignature,
string NativeMethodSignature,
string StubMethodSignature,
string StubMethodILCode)
731 private void ILStubCacheHit(ushort ClrInstanceID, ulong ModuleID, ulong StubMethodID, uint ManagedInteropMethodToken,
string ManagedInteropMethodNamespace,
string ManagedInteropMethodName,
string ManagedInteropMethodSignature)
749 private void MethodDCStartV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags)
755 private void MethodDCEndV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags)
761 private void MethodDCStartVerboseV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags,
string MethodNamespace,
string MethodName,
string MethodSignature)
767 private void MethodDCEndVerboseV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags,
string MethodNamespace,
string MethodName,
string MethodSignature)
773 private void MethodLoad_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, ushort ClrInstanceID, ulong ReJITID)
779 private void R2RGetEntryPoint(ulong MethodID,
string MethodNamespace,
string MethodName,
string MethodSignature, ulong EntryPoint, ushort ClrInstanceID)
791 private void MethodUnload_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, ushort ClrInstanceID, ulong ReJITID)
797 private void MethodLoadVerbose_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags,
string MethodNamespace,
string MethodName,
string MethodSignature, ushort ClrInstanceID, ulong ReJITID)
803 private void MethodUnloadVerbose_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags,
string MethodNamespace,
string MethodName,
string MethodSignature, ushort ClrInstanceID, ulong ReJITID)
809 private void MethodJittingStarted_V1(ulong MethodID, ulong ModuleID, uint MethodToken, uint MethodILSize,
string MethodNamespace,
string MethodName,
string MethodSignature, ushort ClrInstanceID)
815 private void MethodJitMemoryAllocatedForCode(ulong MethodID, ulong ModuleID, ulong JitHotCodeRequestSize, ulong JitRODataRequestSize, ulong AllocatedSizeForJitCode, uint JitAllocFlag, ushort ClrInstanceID)
821 private void MethodJitInliningSucceeded(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string InlinerNamespace,
string InlinerName,
string InlinerNameSignature,
string InlineeNamespace,
string InlineeName,
string InlineeNameSignature, ushort ClrInstanceID)
827 private void MethodJitInliningFailedAnsi(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string InlinerNamespace,
string InlinerName,
string InlinerNameSignature,
string InlineeNamespace,
string InlineeName,
string InlineeNameSignature,
bool FailAlways)
833 private void MethodJitTailCallSucceeded(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string CallerNamespace,
string CallerName,
string CallerNameSignature,
string CalleeNamespace,
string CalleeName,
string CalleeNameSignature,
bool TailPrefix, uint TailCallType, ushort ClrInstanceID)
839 private void MethodJitTailCallFailedAnsi(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string CallerNamespace,
string CallerName,
string CallerNameSignature,
string CalleeNamespace,
string CalleeName,
string CalleeNameSignature,
bool TailPrefix)
845 private void MethodILToNativeMap(ulong MethodID, ulong ReJITID,
byte MethodExtent, ushort CountOfMapEntries)
851 private void MethodJitTailCallFailed(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string CallerNamespace,
string CallerName,
string CallerNameSignature,
string CalleeNamespace,
string CalleeName,
string CalleeNameSignature,
bool TailPrefix,
string FailReason, ushort ClrInstanceID)
857 private void MethodJitInliningFailed(
string MethodBeingCompiledNamespace,
string MethodBeingCompiledName,
string MethodBeingCompiledNameSignature,
string InlinerNamespace,
string InlinerName,
string InlinerNameSignature,
string InlineeNamespace,
string InlineeName,
string InlineeNameSignature,
bool FailAlways,
string FailReason, ushort ClrInstanceID)
863 private void ModuleDCStartV2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint
Reserved1,
string ModuleILPath,
string ModuleNativePath)
869 private void ModuleDCEndV2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint
Reserved1,
string ModuleILPath,
string ModuleNativePath)
875 private void DomainModuleLoad_V1(ulong ModuleID, ulong AssemblyID, ulong AppDomainID, uint ModuleFlags, uint
Reserved1,
string ModuleILPath,
string ModuleNativePath, ushort ClrInstanceID)
881 private void ModuleLoad_V2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint
Reserved1,
string ModuleILPath,
string ModuleNativePath, ushort ClrInstanceID,
Guid ManagedPdbSignature, uint ManagedPdbAge,
string ManagedPdbBuildPath,
Guid NativePdbSignature, uint NativePdbAge,
string NativePdbBuildPath)
887 private void ModuleUnload_V2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint
Reserved1,
string ModuleILPath,
string ModuleNativePath, ushort ClrInstanceID,
Guid ManagedPdbSignature, uint ManagedPdbAge,
string ManagedPdbBuildPath,
Guid NativePdbSignature, uint NativePdbAge,
string NativePdbBuildPath)
893 private void AssemblyLoad_V1(ulong AssemblyID, ulong AppDomainID, ulong BindingID, uint AssemblyFlags,
string FullyQualifiedAssemblyName, ushort ClrInstanceID)
899 private void AssemblyUnload_V1(ulong AssemblyID, ulong AppDomainID, ulong BindingID, uint AssemblyFlags,
string FullyQualifiedAssemblyName, ushort ClrInstanceID)
905 private void AppDomainLoad_V1(ulong AppDomainID, uint AppDomainFlags,
string AppDomainName, uint AppDomainIndex, ushort ClrInstanceID)
911 private void AppDomainUnload_V1(ulong AppDomainID, uint AppDomainFlags,
string AppDomainName, uint AppDomainIndex, ushort ClrInstanceID)
917 private void ModuleRangeLoad(ushort ClrInstanceID, ulong ModuleID, uint RangeBegin, uint RangeSize,
byte RangeType)
947 private void RuntimeInformationStart(ushort ClrInstanceID, ushort Sku, ushort BclMajorVersion, ushort BclMinorVersion, ushort BclBuildNumber, ushort BclQfeNumber, ushort VMMajorVersion, ushort VMMinorVersion, ushort VMBuildNumber, ushort VMQfeNumber, uint StartupFlags,
byte StartupMode,
string CommandLine,
Guid ComObjectGuid,
string RuntimeDllPath)
971 private void GCJoin_V2(uint Heap, uint JoinTime, uint JoinType, ushort ClrInstanceID, uint JoinID)
977 private void GCPerHeapHistory_V3(ushort ClrInstanceID,
IntPtr FreeListAllocated,
IntPtr FreeListRejected,
IntPtr EndOfSegAllocated,
IntPtr CondemnedAllocated,
IntPtr PinnedAllocated,
IntPtr PinnedAllocatedAdvance, uint RunningFreeListEfficiency, uint CondemnReasons0, uint CondemnReasons1, uint CompactMechanisms, uint ExpandMechanisms, uint HeapIndex,
IntPtr ExtraGen0Commit, uint Count)
983 private void GCGlobalHeapHistory_V4(ulong FinalYoungestDesired,
int NumHeaps, uint CondemnedGeneration, uint Gen0ReductionCount, uint Reason, uint GlobalMechanisms, ushort ClrInstanceID, uint PauseMode, uint MemoryPressure, uint CondemnReasons0, uint CondemnReasons1, uint Count)
1007 private void GCFitBucketInfo(ushort ClrInstanceID, ushort BucketKind, ulong TotalSize, ushort Count)
1037 private void CodeSymbols(ulong ModuleId, ushort TotalChunks, ushort ChunkNumber, uint ChunkLength)
1079 private void AssemblyLoadStart(ushort ClrInstanceID,
string AssemblyName,
string AssemblyPath,
string RequestingAssembly,
string AssemblyLoadContext,
string RequestingAssemblyLoadContext)
1085 private void AssemblyLoadStop(ushort ClrInstanceID,
string AssemblyName,
string AssemblyPath,
string RequestingAssembly,
string AssemblyLoadContext,
string RequestingAssemblyLoadContext,
bool Success,
string ResultAssemblyName,
string ResultAssemblyPath,
bool Cached)
1091 private void ResolutionAttempted(ushort ClrInstanceID,
string AssemblyName, ushort Stage,
string AssemblyLoadContext, ushort Result,
string ResultAssemblyName,
string ResultAssemblyPath,
string ErrorMessage)
1115 private void KnownPathProbed(ushort ClrInstanceID,
string FilePath, ushort Source,
int Result)
1127 private void JitInstrumentationDataVerbose(ushort ClrInstanceID, uint MethodFlags, uint DataSize, ulong MethodID, ulong ModuleID, uint MethodToken,
string MethodNamespace,
string MethodName,
string MethodSignature)
1145 : base(new
Guid(3778809123u, 52412, 19986, 147, 27, 217, 204, 46, 238, 39, 228),
"Microsoft-Windows-DotNETRuntime")
static int ToInt32(object? value)
static object[] DecodePayload(ref EventSource.EventMetadata metadata, ReadOnlySpan< byte > payload)
void DispatchToAllListeners(EventWrittenEventArgs eventCallbackArgs)
volatile EventMetadata[] m_eventData
const EventKeywords MethodDiagnosticKeyword
const EventKeywords NGenKeyword
const EventKeywords JitTracingKeyword
const EventKeywords GCHeapDumpKeyword
const EventKeywords ExceptionKeyword
const EventKeywords TypeKeyword
const EventKeywords GCHeapCollectKeyword
const EventKeywords GCSampledObjectAllocationLowKeyword
const EventKeywords JitKeyword
const EventKeywords EventSourceKeyword
const EventKeywords ProfilerKeyword
const EventKeywords StartEnumerationKeyword
const EventKeywords TypeDiagnosticKeyword
const EventKeywords PerfTrackKeyword
const EventKeywords ContentionKeyword
const EventKeywords GCHeapAndTypeNamesKeyword
const EventKeywords CompilationKeyword
const EventKeywords SecurityKeyword
const EventKeywords GCHeapSurvivalAndMovementKeyword
const EventKeywords ThreadTransferKeyword
const EventKeywords DebuggerKeyword
const EventKeywords JitInstrumentationDataKeyword
const EventKeywords MonitoringKeyword
const EventKeywords OverrideAndSuppressNGenEventsKeyword
const EventKeywords GCKeyword
const EventKeywords InteropKeyword
const EventKeywords EndEnumerationKeyword
const EventKeywords CompilationDiagnosticKeyword
const EventKeywords LoaderKeyword
const EventKeywords AssemblyLoaderKeyword
const EventKeywords StackKeyword
const EventKeywords ThreadingKeyword
const EventKeywords CodeSymbolsKeyword
const EventKeywords AppDomainResourceManagementKeyword
const EventKeywords GCSampledObjectAllocationHighKeyword
const EventKeywords GCHandleKeyword
const EventKeywords JittedMethodILToNativeMapKeyword
const string WorkerThreadAdjustmentStats
const string WorkerThread
const string WorkerThreadAdjustmentSample
const string WorkingThreadCount
const string WorkerThreadAdjustmentAdjustment
const EventOpcode IODequeue
const EventOpcode IOEnqueue
const EventOpcode Adjustment
const EventTask ThreadPoolWorkerThread
const EventTask ThreadPoolWorkingThreadCount
const EventTask ThreadPoolWorkerThreadAdjustment
void GCMarkStackRoots(uint HeapNum, ushort ClrInstanceID)
void GCSuspendEEEnd_V1(ushort ClrInstanceID)
void ExceptionCatchStart(ulong EntryEIP, ulong MethodID, string MethodName, ushort ClrInstanceID)
void GCStart_V2(uint Count, uint Depth, uint Reason, uint Type, ushort ClrInstanceID, ulong ClientSequenceNumber)
static void LogThreadPoolIOEnqueue(IntPtr NativeOverlapped, IntPtr Overlapped, bool MultiDequeues, ushort ClrInstanceID)
void MethodJitInliningFailedAnsi(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string InlinerNamespace, string InlinerName, string InlinerNameSignature, string InlineeNamespace, string InlineeName, string InlineeNameSignature, bool FailAlways)
void GCMarkHandles(uint HeapNum, ushort ClrInstanceID)
void GCMarkFinalizeQueueRoots(uint HeapNum, ushort ClrInstanceID)
void WorkerThreadUnretire(uint WorkerThreadCount, uint RetiredWorkerThreads)
void GCMarkWithType(uint HeapNum, ushort ClrInstanceID, uint Type, ulong Bytes)
void KnownPathProbed(ushort ClrInstanceID, string FilePath, ushort Source, int Result)
void MethodILToNativeMap(ulong MethodID, ulong ReJITID, byte MethodExtent, ushort CountOfMapEntries)
void MethodJitTailCallFailedAnsi(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string CallerNamespace, string CallerName, string CallerNameSignature, string CalleeNamespace, string CalleeName, string CalleeNameSignature, bool TailPrefix)
void DestroyGCHandle(IntPtr HandleID, ushort ClrInstanceID)
void GCBulkRootConditionalWeakTableElementEdge(uint Index, uint Count, ushort ClrInstanceID)
void ThreadPoolIODequeue(RegisteredWaitHandle registeredWaitHandle)
void ThreadPoolWorkerThreadStop(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount=0u, ushort ClrInstanceID=0)
void GCHeapStats_V2(ulong GenerationSize0, ulong TotalPromotedSize0, ulong GenerationSize1, ulong TotalPromotedSize1, ulong GenerationSize2, ulong TotalPromotedSize2, ulong GenerationSize3, ulong TotalPromotedSize3, ulong FinalizationPromotedSize, ulong FinalizationPromotedCount, uint PinnedObjectCount, uint SinkBlockCount, uint GCHandleCount, ushort ClrInstanceID, ulong GenerationSize4, ulong TotalPromotedSize4)
static void LogThreadPoolWorkerThreadAdjustmentStats(double Duration, double Throughput, double ThreadPoolWorkerThreadWait, double ThroughputWave, double ThroughputErrorEstimate, double AverageThroughputErrorEstimate, double ThroughputRatio, double Confidence, double NewControlSetting, ushort NewThreadWaveMagnitude, ushort ClrInstanceID)
void ILStubGenerated(ushort ClrInstanceID, ulong ModuleID, ulong StubMethodID, uint StubFlags, uint ManagedInteropMethodToken, string ManagedInteropMethodNamespace, string ManagedInteropMethodName, string ManagedInteropMethodSignature, string NativeMethodSignature, string StubMethodSignature, string StubMethodILCode)
void GCFreeSegment_V1(ulong Address, ushort ClrInstanceID)
unsafe void ProcessEvent(uint eventID, uint osThreadID, DateTime timeStamp, Guid activityId, Guid childActivityId, ReadOnlySpan< byte > payload)
void AssemblyUnload_V1(ulong AssemblyID, ulong AppDomainID, ulong BindingID, uint AssemblyFlags, string FullyQualifiedAssemblyName, ushort ClrInstanceID)
NativeRuntimeEventSource(int _)
void GCBulkRCW(uint Count, ushort ClrInstanceID)
void EventSource(int EventID, string EventName, string EventSourceName, string Payload)
void GCGlobalHeapHistory_V4(ulong FinalYoungestDesired, int NumHeaps, uint CondemnedGeneration, uint Gen0ReductionCount, uint Reason, uint GlobalMechanisms, ushort ClrInstanceID, uint PauseMode, uint MemoryPressure, uint CondemnReasons0, uint CondemnReasons1, uint Count)
void GCMarkOlderGenerationRoots(uint HeapNum, ushort ClrInstanceID)
void ThreadRunning(IntPtr ID, ushort ClrInstanceID)
void ThreadPoolWorkerThreadStart(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount=0u, ushort ClrInstanceID=0)
void AuthenticodeVerificationStop_V1(uint VerificationFlags, uint ErrorCode, string ModulePath, ushort ClrInstanceID)
void MethodDCEndVerboseV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, string MethodNamespace, string MethodName, string MethodSignature)
void MethodUnloadVerbose_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, string MethodNamespace, string MethodName, string MethodSignature, ushort ClrInstanceID, ulong ReJITID)
void ResolutionAttempted(ushort ClrInstanceID, string AssemblyName, ushort Stage, string AssemblyLoadContext, ushort Result, string ResultAssemblyName, string ResultAssemblyPath, string ErrorMessage)
void ExceptionThrownStop()
void GCPerHeapHistory_V3(ushort ClrInstanceID, IntPtr FreeListAllocated, IntPtr FreeListRejected, IntPtr EndOfSegAllocated, IntPtr CondemnedAllocated, IntPtr PinnedAllocated, IntPtr PinnedAllocatedAdvance, uint RunningFreeListEfficiency, uint CondemnReasons0, uint CondemnReasons1, uint CompactMechanisms, uint ExpandMechanisms, uint HeapIndex, IntPtr ExtraGen0Commit, uint Count)
void ProfilerMessage(ushort ClrInstanceID, string Message)
void PinObjectAtGCTime(IntPtr HandleID, IntPtr ObjectID, ulong ObjectSize, string TypeName, ushort ClrInstanceID)
void AppDomainMemSurvived(ulong AppDomainID, ulong Survived, ulong ProcessSurvived, ushort ClrInstanceID)
void AssemblyLoad_V1(ulong AssemblyID, ulong AppDomainID, ulong BindingID, uint AssemblyFlags, string FullyQualifiedAssemblyName, ushort ClrInstanceID)
void ContentionStop_V1(byte ContentionFlags, ushort ClrInstanceID, double DurationNs)
void CodeSymbols(ulong ModuleId, ushort TotalChunks, ushort ChunkNumber, uint ChunkLength)
void StrongNameVerificationStop_V1(uint VerificationFlags, uint ErrorCode, string FullyQualifiedAssemblyName, ushort ClrInstanceID)
void WorkerThreadTerminate(uint WorkerThreadCount, uint RetiredWorkerThreads)
void GCLOHCompact(ushort ClrInstanceID, ushort Count)
void MethodJitInliningFailed(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string InlinerNamespace, string InlinerName, string InlinerNameSignature, string InlineeNamespace, string InlineeName, string InlineeNameSignature, bool FailAlways, string FailReason, ushort ClrInstanceID)
static void LogThreadPoolWorkerThreadStart(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount, ushort ClrInstanceID)
void ThreadTerminated(ulong ManagedThreadID, ulong AppDomainID, ushort ClrInstanceID)
void TieredCompilationSettings(ushort ClrInstanceID, uint Flags)
void GCBulkRootEdge(uint Index, uint Count, ushort ClrInstanceID)
static void LogThreadPoolWorkerThreadWait(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount, ushort ClrInstanceID)
void MethodDCEndV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags)
void GenAwareEnd(uint Count, ushort ClrInstanceID)
void ThreadDomainEnter(ulong ManagedThreadID, ulong AppDomainID, ushort ClrInstanceID)
void TieredCompilationBackgroundJitStop(ushort ClrInstanceID, uint PendingMethodCount, uint JittedMethodCount)
void ModuleRangeLoad(ushort ClrInstanceID, ulong ModuleID, uint RangeBegin, uint RangeSize, byte RangeType)
void MethodDCStartV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags)
void ThreadPoolWorkerThreadWait(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount=0u, ushort ClrInstanceID=0)
void DomainModuleLoad_V1(ulong ModuleID, ulong AssemblyID, ulong AppDomainID, uint ModuleFlags, uint Reserved1, string ModuleILPath, string ModuleNativePath, ushort ClrInstanceID)
void AppDomainLoad_V1(ulong AppDomainID, uint AppDomainFlags, string AppDomainName, uint AppDomainIndex, ushort ClrInstanceID)
void ThreadPoolIOEnqueue(RegisteredWaitHandle registeredWaitHandle)
void R2RGetEntryPointStart(ulong MethodID, ushort ClrInstanceID)
void GCSampledObjectAllocationLow(IntPtr Address, IntPtr TypeID, uint ObjectCountForTypeSample, ulong TotalSizeForTypeSample, ushort ClrInstanceID)
void GCFitBucketInfo(ushort ClrInstanceID, ushort BucketKind, ulong TotalSize, ushort Count)
void GCEnd_V1(uint Count, uint Depth, ushort ClrInstanceID)
void MethodLoad_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, ushort ClrInstanceID, ulong ReJITID)
void IncreaseMemoryPressure(ulong BytesAllocated, ushort ClrInstanceID)
void GCTriggered(uint Reason, ushort ClrInstanceID)
void ILStubCacheHit(ushort ClrInstanceID, ulong ModuleID, ulong StubMethodID, uint ManagedInteropMethodToken, string ManagedInteropMethodNamespace, string ManagedInteropMethodName, string ManagedInteropMethodSignature)
void TieredCompilationBackgroundJitStart(ushort ClrInstanceID, uint PendingMethodCount)
const ushort DefaultClrInstanceId
void DebugIPCEventStart()
void WorkerThreadCreate(uint WorkerThreadCount, uint RetiredWorkerThreads)
void GCTerminateConcurrentThread_V1(ushort ClrInstanceID)
static readonly NativeRuntimeEventSource Log
void MethodJittingStarted_V1(ulong MethodID, ulong ModuleID, uint MethodToken, uint MethodILSize, string MethodNamespace, string MethodName, string MethodSignature, ushort ClrInstanceID)
static void LogThreadPoolWorkerThreadAdjustmentSample(double Throughput, ushort ClrInstanceID)
void IOThreadRetire_V1(uint IOThreadCount, uint RetiredIOThreads, ushort ClrInstanceID)
void MethodJitMemoryAllocatedForCode(ulong MethodID, ulong ModuleID, ulong JitHotCodeRequestSize, ulong JitRODataRequestSize, ulong AllocatedSizeForJitCode, uint JitAllocFlag, ushort ClrInstanceID)
void ContentionStart_V1(byte ContentionFlags, ushort ClrInstanceID)
void ExecutionCheckpoint(ushort ClrInstanceID, string Name, long Timestamp)
void TieredCompilationResume(ushort ClrInstanceID, uint NewMethodCount)
static void LogThreadPoolWorkerThreadStop(uint ActiveWorkerThreadCount, uint RetiredWorkerThreadCount, ushort ClrInstanceID)
void GCBulkEdge(uint Index, uint Count, ushort ClrInstanceID)
void ModuleDCEndV2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint Reserved1, string ModuleILPath, string ModuleNativePath)
void IOThreadTerminate_V1(uint IOThreadCount, uint RetiredIOThreads, ushort ClrInstanceID)
NativeRuntimeEventSource()
void TieredCompilationPause(ushort ClrInstanceID)
void AppDomainMemAllocated(ulong AppDomainID, ulong Allocated, ushort ClrInstanceID)
void DebugExceptionProcessingStart()
void CLRStackWalk(ushort ClrInstanceID, byte Reserved1, byte Reserved2, uint FrameCount)
void ExceptionFinallyStop()
void ThreadCreated(ulong ManagedThreadID, ulong AppDomainID, uint Flags, uint ManagedThreadIndex, uint OSThreadID, ushort ClrInstanceID)
void ModuleDCStartV2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint Reserved1, string ModuleILPath, string ModuleNativePath)
void ThreadCreating(IntPtr ID, ushort ClrInstanceID)
void ModuleUnload_V2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint Reserved1, string ModuleILPath, string ModuleNativePath, ushort ClrInstanceID, Guid ManagedPdbSignature, uint ManagedPdbAge, string ManagedPdbBuildPath, Guid NativePdbSignature, uint NativePdbAge, string NativePdbBuildPath)
void GCSuspendEEBegin_V1(uint Reason, uint Count, ushort ClrInstanceID)
void GCBulkRootStaticVar(uint Count, ulong AppDomainID, ushort ClrInstanceID)
void GCRestartEEEnd_V1(ushort ClrInstanceID)
void ExceptionFilterStop()
void GCGenerationRange(byte Generation, IntPtr RangeStart, ulong RangeUsedLength, ulong RangeReservedLength, ushort ClrInstanceID)
void MethodJitTailCallFailed(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string CallerNamespace, string CallerName, string CallerNameSignature, string CalleeNamespace, string CalleeName, string CalleeNameSignature, bool TailPrefix, string FailReason, ushort ClrInstanceID)
void ThreadPoolWorkerThreadAdjustmentSample(double Throughput, ushort ClrInstanceID=0)
void ThreadPoolIODequeue(IntPtr NativeOverlapped, IntPtr Overlapped, ushort ClrInstanceID=0)
void GCBulkSurvivingObjectRanges(uint Index, uint Count, ushort ClrInstanceID)
void MethodDCStartVerboseV2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, string MethodNamespace, string MethodName, string MethodSignature)
void DebugExceptionProcessingEnd()
void AppDomainUnload_V1(ulong AppDomainID, uint AppDomainFlags, string AppDomainName, uint AppDomainIndex, ushort ClrInstanceID)
void ThreadPoolWorkingThreadCount(uint Count, ushort ClrInstanceID=0)
void ThreadPoolWorkerThreadAdjustmentAdjustment(double AverageThroughput, uint NewWorkerThreadCount, ThreadAdjustmentReasonMap Reason, ushort ClrInstanceID=0)
void AssemblyLoadStart(ushort ClrInstanceID, string AssemblyName, string AssemblyPath, string RequestingAssembly, string AssemblyLoadContext, string RequestingAssemblyLoadContext)
void TypeLoadStart(uint TypeLoadStartID, ushort ClrInstanceID)
void GenAwareBegin(uint Count, ushort ClrInstanceID)
void BulkType(uint Count, ushort ClrInstanceID)
void JitInstrumentationDataVerbose(ushort ClrInstanceID, uint MethodFlags, uint DataSize, ulong MethodID, ulong ModuleID, uint MethodToken, string MethodNamespace, string MethodName, string MethodSignature)
void GCFinalizersBegin_V1(ushort ClrInstanceID)
void AppDomainAssemblyResolveHandlerInvoked(ushort ClrInstanceID, string AssemblyName, string HandlerName, string ResultAssemblyName, string ResultAssemblyPath)
void GCJoin_V2(uint Heap, uint JoinTime, uint JoinType, ushort ClrInstanceID, uint JoinID)
static void LogThreadPoolIODequeue(IntPtr NativeOverlapped, IntPtr Overlapped, ushort ClrInstanceID)
void JitInstrumentationData(ushort ClrInstanceID, uint MethodFlags, uint DataSize, ulong MethodID)
static void LogThreadPoolWorkingThreadCount(uint Count, ushort ClrInstanceID)
void GCBulkRootCCW(uint Count, ushort ClrInstanceID)
override ReadOnlySpan< byte > ProviderMetadata
void GCSampledObjectAllocationHigh(IntPtr Address, IntPtr TypeID, uint ObjectCountForTypeSample, ulong TotalSizeForTypeSample, ushort ClrInstanceID)
void DecreaseMemoryPressure(ulong BytesFreed, ushort ClrInstanceID)
void MethodLoadVerbose_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, string MethodNamespace, string MethodName, string MethodSignature, ushort ClrInstanceID, ulong ReJITID)
const string EventSourceName
void GCBulkNode(uint Index, uint Count, ushort ClrInstanceID)
void GCDynamicEvent(string Name, uint DataSize)
void ExceptionCatchStop()
void GCCreateConcurrentThread_V1(ushort ClrInstanceID)
void ThreadpoolSuspensionSuspendThread(uint ClrThreadID, uint CpuUtilization)
void ExceptionThrown_V1(string ExceptionType, string ExceptionMessage, IntPtr ExceptionEIP, uint ExceptionHRESULT, ushort ExceptionFlags, ushort ClrInstanceID)
void AssemblyLoadContextResolvingHandlerInvoked(ushort ClrInstanceID, string AssemblyName, string HandlerName, string AssemblyLoadContext, string ResultAssemblyName, string ResultAssemblyPath)
void GCAllocationTick_V4(uint AllocationAmount, uint AllocationKind, ushort ClrInstanceID, ulong AllocationAmount64, IntPtr TypeID, string TypeName, uint HeapIndex, IntPtr Address, ulong ObjectSize)
void RuntimeInformationStart(ushort ClrInstanceID, ushort Sku, ushort BclMajorVersion, ushort BclMinorVersion, ushort BclBuildNumber, ushort BclQfeNumber, ushort VMMajorVersion, ushort VMMinorVersion, ushort VMBuildNumber, ushort VMQfeNumber, uint StartupFlags, byte StartupMode, string CommandLine, Guid ComObjectGuid, string RuntimeDllPath)
void MethodJitInliningSucceeded(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string InlinerNamespace, string InlinerName, string InlinerNameSignature, string InlineeNamespace, string InlineeName, string InlineeNameSignature, ushort ClrInstanceID)
void R2RGetEntryPoint(ulong MethodID, string MethodNamespace, string MethodName, string MethodSignature, ulong EntryPoint, ushort ClrInstanceID)
void IOThreadCreate_V1(uint IOThreadCount, uint RetiredIOThreads, ushort ClrInstanceID)
void FinalizeObject(IntPtr TypeID, IntPtr ObjectID, ushort ClrInstanceID)
void YieldProcessorMeasurement(ushort ClrInstanceID, double NsPerYield, double EstablishedNsPerYield)
void ThreadpoolSuspensionResumeThread(uint ClrThreadID, uint CpuUtilization)
void ModuleLoad_V2(ulong ModuleID, ulong AssemblyID, uint ModuleFlags, uint Reserved1, string ModuleILPath, string ModuleNativePath, ushort ClrInstanceID, Guid ManagedPdbSignature, uint ManagedPdbAge, string ManagedPdbBuildPath, Guid NativePdbSignature, uint NativePdbAge, string NativePdbBuildPath)
void GCRestartEEBegin_V1(ushort ClrInstanceID)
void GCFinalizersEnd_V1(uint Count, ushort ClrInstanceID)
void SetGCHandle(IntPtr HandleID, IntPtr ObjectID, uint Kind, uint Generation, ulong AppDomainID, ushort ClrInstanceID)
void AssemblyLoadFromResolveHandlerInvoked(ushort ClrInstanceID, string AssemblyName, bool IsTrackedLoad, string RequestingAssemblyPath, string ComputedRequestedAssemblyPath)
void ThreadPoolWorkerThreadAdjustmentStats(double Duration, double Throughput, double ThreadWave, double ThroughputWave, double ThroughputErrorEstimate, double AverageThroughputErrorEstimate, double ThroughputRatio, double Confidence, double NewControlSetting, ushort NewThreadWaveMagnitude, ushort ClrInstanceID=0)
void ExceptionFilterStart(ulong EntryEIP, ulong MethodID, string MethodName, ushort ClrInstanceID)
void AssemblyLoadStop(ushort ClrInstanceID, string AssemblyName, string AssemblyPath, string RequestingAssembly, string AssemblyLoadContext, string RequestingAssemblyLoadContext, bool Success, string ResultAssemblyName, string ResultAssemblyPath, bool Cached)
static void LogThreadPoolWorkerThreadAdjustmentAdjustment(double AverageThroughput, uint NewWorkerThreadCount, ThreadAdjustmentReasonMap Reason, ushort ClrInstanceID)
void MethodDetails(ulong MethodID, ulong TypeID, uint MethodToken, uint TypeParameterCount, ulong LoaderModuleID)
void MethodJitTailCallSucceeded(string MethodBeingCompiledNamespace, string MethodBeingCompiledName, string MethodBeingCompiledNameSignature, string CallerNamespace, string CallerName, string CallerNameSignature, string CalleeNamespace, string CalleeName, string CalleeNameSignature, bool TailPrefix, uint TailCallType, ushort ClrInstanceID)
void GCCreateSegment_V1(ulong Address, ulong Size, uint Type, ushort ClrInstanceID)
void GCBulkMovedObjectRanges(uint Index, uint Count, ushort ClrInstanceID)
void ExceptionFinallyStart(ulong EntryEIP, ulong MethodID, string MethodName, ushort ClrInstanceID)
ThreadAdjustmentReasonMap
void TypeLoadStop(uint TypeLoadStartID, ushort ClrInstanceID, ushort LoadLevel, ulong TypeID, string TypeName)
void AuthenticodeVerificationStart_V1(uint VerificationFlags, uint ErrorCode, string ModulePath, ushort ClrInstanceID)
void StrongNameVerificationStart_V1(uint VerificationFlags, uint ErrorCode, string FullyQualifiedAssemblyName, ushort ClrInstanceID)
void WorkerThreadRetire(uint WorkerThreadCount, uint RetiredWorkerThreads)
void ThreadPoolIOEnqueue(IntPtr NativeOverlapped, IntPtr Overlapped, bool MultiDequeues, ushort ClrInstanceID=0)
void IOThreadUnretire_V1(uint IOThreadCount, uint RetiredIOThreads, ushort ClrInstanceID)
void MethodUnload_V2(ulong MethodID, ulong ModuleID, ulong MethodStartAddress, uint MethodSize, uint MethodToken, uint MethodFlags, ushort ClrInstanceID, ulong ReJITID)
static readonly IntPtr Zero