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 (#78213)
  • Loading branch information
davmason committed Nov 20, 2022
commit 38a6683a974b80d5751d975f2293bdac8686aead
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