Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2895,9 +2895,10 @@ private void EnsureDescriptorsInitialized()

// Send out the ETW manifest XML out to ETW
// Today, we only send the manifest to ETW, custom listeners don't get it.
// Don't send if we are specific "EventSource"s that are pass-throughs to native events
private unsafe void SendManifest(byte[]? rawManifest)
{
if (rawManifest == null)
if (rawManifest == null || m_guid.Equals(NativeRuntimeEventSourceGuid))
return;

Debug.Assert(!SelfDescribingEvents);
Expand Down Expand Up @@ -3961,6 +3962,9 @@ private bool SelfDescribingEvents
// used for generating GUID from eventsource name
private static byte[]? namespaceBytes;
#endif

// GUIDs for special-cased EventSources, e.g., NativeRuntimeEventSource, that shouldn't send a manifest to ETW
private static readonly Guid NativeRuntimeEventSourceGuid = new Guid("E13C0D23-CCBC-4E12-931B-D9CC2EEE27E4"); // NativeRuntimeEventSource
Comment thread
josalem marked this conversation as resolved.
Outdated
#endregion
}

Expand Down