microsoft / microsoft/perfview
should be able to use EventCounter as triggers like we do with perf counter
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 775
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 9
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing PerfView’s existing performance-counter trigger handling and the EventCounter collection path. No files or tests are named; done means supporting EventCounter thresholds that can start and stop a trace, including the illustrated GC collection scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, performance
- Domain
- performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100