Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Send tiered compilation settings rundown event on EventPipe detach
Browse files Browse the repository at this point in the history
  • Loading branch information
kouvel committed Jun 6, 2019
1 parent 41832ce commit 1f7aee5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vm/eventpipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,11 @@ void EventPipe::DisableInternal(EventPipeSessionID id, EventPipeProviderCallback
// Log the runtime information event.
ETW::InfoLog::RuntimeInformation(ETW::InfoLog::InfoStructs::Normal);

if (ETW::CompilationLog::TieredCompilation::Rundown::IsEnabled() && g_pConfig->TieredCompilation())
{
ETW::CompilationLog::TieredCompilation::Rundown::SendSettings();
}

// Disable pSession tracing.
s_pConfig->Disable(*pSession, pEventPipeProviderCallbackDataQueue);
pSession->Disable();
Expand Down

0 comments on commit 1f7aee5

Please sign in to comment.