perfview icon indicating copy to clipboard operation
perfview copied to clipboard

should be able to use EventCounter as triggers like we do with perf counter

Open Maoni0 opened this issue 4 years ago • 0 comments

in .NET Framework days we had perf counters and you could do triggers based on them, eg,

perfVIew.exe /nogui "/StartOnPerfCounter:.NET CLR Memory:# Gen 0 Collections:myproc>1800" "/StartOnPerfCounter:.NET CLR Memory:# Gen 0 Collections:myproc>2400" /GCCollectOnly collect

this would start collecting the trace when it sees GC#1800 in myproc.exe and stop the trace when it sees GC#2400 and that's super helpful (I use GCCollectOnly as an example if you want to collect something that's a lot more heavyweight like CPU samples/ThreadTime this is extremely important).

would be great to be able to use EventCounters in .net core as triggers in the same fashion.

Maoni0 avatar May 17 '21 23:05 Maoni0