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

Scale perf counters based on times enabled and ran #209

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

mahendrapaipuri
Copy link
Owner

  • We are certainly using more events than available counters and hence raw counters must be scaled based on time enabled and time running counters

As we are cumulating multiple processes in a given cgroup, exporting the scale factor is not really a solution. We scale the raw counters for each PID and export scaled counters.

Closes #208

* We are certainly using more events than available counters and hence raw counters must be scaled based on time enabled and time running counters

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added the bug Something isn't working label Oct 31, 2024
@mahendrapaipuri mahendrapaipuri merged commit c75a3d1 into main Oct 31, 2024
15 checks passed
@mahendrapaipuri mahendrapaipuri deleted the scale_perf_counters branch October 31, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export perf events scaling factor
1 participant