Not sure if this is a hardware issue or a software bug or user error.
Example:
#[test]
fn one_cpu() {
let mut group = Group::new().unwrap();
let _cycles = group
.add(&Builder::new(Hardware::CPU_CYCLES).one_cpu(0))
.unwrap();
}
When run:
called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }
Linux 6.18.7, Intel i7-12700K CPU, perf-event2 0.7.4.
Thanks for maintaining this!
Not sure if this is a hardware issue or a software bug or user error.
Example:
When run:
Linux 6.18.7, Intel i7-12700K CPU, perf-event2 0.7.4.
Thanks for maintaining this!