Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add a bitmask to enable individual perf context counter #7073

Open
yiwu-arbug opened this issue Jul 2, 2020 · 0 comments
Open
Labels
up-for-grabs Up for grabs

Comments

@yiwu-arbug
Copy link
Contributor

yiwu-arbug commented Jul 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
up-for-grabs Up for grabs
Projects
None yet
Development

No branches or pull requests

2 participants