perfview
perfview copied to clipboard
should be able to use EventCounter as triggers like we do with perf counter
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.