Skip to content

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