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

Enable perf counters on older kernels #66

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Conversation

chipot
Copy link
Contributor

@chipot chipot commented Jun 30, 2022

As stated in the comments and the manual page , PERF_COUNT_HW_REF_CPU_CYCLES is available since linux 3.3.
It tried it locally with an older kernel (3.10) and it works fine.

Can you maybe clarify why the check was done against version 3.14 and not 3.3 ?

Thanks.

@martinus
Copy link
Owner

sure, thanks for the fix! Sorry for being late on my part though.

@martinus martinus merged commit cb4170b into martinus:master Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants