Skip to content

Commit

Permalink
Don't emit manifest for NativeRuntimeEventSource (#78213) (#79008)
Browse files Browse the repository at this point in the history
  • Loading branch information
davmason committed Jan 5, 2023
1 parent 20ff8f6 commit 4810b47
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2897,8 +2897,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

0 comments on commit 4810b47

Please sign in to comment.