Skip to content

Commit

Permalink
Merge pull request #1849 from brianrob/dev/brianrob/additional-minima…
Browse files Browse the repository at this point in the history
…l-rundown-events

Add Additional Configuration Events to Minimal Rundown
  • Loading branch information
brianrob authored Mar 30, 2023
2 parents 846df21 + bc7b515 commit ffceddb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/PerfView/CommandProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3521,7 +3521,13 @@ private void DoClrRundownForSession(string fileName, string sessionName, Command
// to get the runtime start event. For minimal rundown, just enabling ForceEndRundown
// should be enough to get the rundown event for both .NET Framework and .NET Core
// without going down any expensive rundown codepaths.
var rundownKeywords = ClrRundownTraceEventParser.Keywords.ForceEndRundown;

// Minimal rundown includes:
// - Runtime/Start event
// - TieredCompilation
var rundownKeywords = ClrRundownTraceEventParser.Keywords.ForceEndRundown |
ClrRundownTraceEventParser.Keywords.Compilation |
ClrRundownTraceEventParser.Keywords.GC;

// Only consider forcing suppression of these keywords if full rundown is enabled.
if (!parsedArgs.NoRundown && !parsedArgs.NoClrRundown)
Expand Down

0 comments on commit ffceddb

Please sign in to comment.