Feature request: Add a bitmask to enable individual perf context counter
Open
up-for-grabs
- Dominant language
- C++
- Stars
- 32.1k
- Forks
- 6.9k
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Description
Currently we can change perf level to enable different set of perf context counters. However, sometimes we are only interested in a subset of timer counter and want to avoid overhead of the other counters, and using only perf level doesn't fit out needs. We propose allowing user to set a bitmask which can enable individual perf context counters. Currently there are ~70 perf context counters, so we only need an uint64[2] array to hold the bitmask.
We would like to get some feedback on whether this is a good idea, and can work on a PR later.
Contributor guide
Assessment
This issue has not been assessed yet.