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

Build fails with PAPI v6 #1

Open
MonterraByte opened this issue Mar 20, 2022 · 0 comments · May be fixed by #2
Open

Build fails with PAPI v6 #1

MonterraByte opened this issue Mar 20, 2022 · 0 comments · May be fixed by #2

Comments

@MonterraByte
Copy link

Trying to build this crate yields the error

error[E0425]: cannot find function, tuple struct or tuple variant `PAPI_num_counters` in crate `ffi`
   --> src/event_set.rs:542:42
    |
542 |         let num_counters = unsafe { ffi::PAPI_num_counters() };
    |                                          ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `PAPI_num_events`

It seems like the PAPI_num_counters function was removed in the latest version of the library.

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 a pull request may close this issue.

1 participant