Skip to content

Commit

Permalink
Don't emit manifest for NativeRuntimeEventSource (#78213)
Browse files Browse the repository at this point in the history
  • Loading branch information
davmason committed Nov 13, 2022
1 parent b2cf1c7 commit 653be13
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 653be13

Please sign in to comment.