Skip to content
Merged
Changes from all commits
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
Don't emit manifest for NativeRuntimeEventSource
  • Loading branch information
davmason committed Nov 11, 2022
commit 8a7da0e0b38fc346ff88bff3374970b8453e090b
Original file line number Diff line number Diff line change
Expand Up @@ -2807,8 +2807,13 @@ private void EnsureDescriptorsInitialized()
// Today, we only send the manifest to ETW, custom listeners don't get it.
private unsafe void SendManifest(byte[]? rawManifest)
{
if (rawManifest == null)
if (rawManifest == null
// Don't send the manifest for NativeRuntimeEventSource, it is conceptually
// an extension of the native coreclr provider
|| m_name.Equals("Microsoft-Windows-DotNETRuntime"))
{
return;
}

Debug.Assert(!SelfDescribingEvents);

Expand Down