We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab6585 commit d8cda6cCopy full SHA for d8cda6c
2 files changed
libs/darwin-kperf/criterion/src/pmc.rs
@@ -145,9 +145,6 @@ impl Drop for HardwareCounter {
145
// drop order is field declaration order), and we are the sole owner.
146
// No ThreadSampler will be running after this point.
147
let _result = unsafe { SAMPLER.release() };
148
-
149
- // The sampler can now be acquired again.
150
- SAMPLER_ACQUIRED.store(false, Ordering::SeqCst);
151
}
152
153
libs/darwin-kperf/events/src/lib.rs
@@ -59,7 +59,7 @@ impl Cpu {
59
b"a15" => Some(Self::M2),
60
b"a16" | b"as1" | b"as2" | b"as3" => Some(Self::M3),
61
b"as4" | b"as4-1" | b"as4-2" => Some(Self::M4),
62
- b"as5" | b"as5-1" | b"as5-2" => Some(Self::M5),
+ b"as5" | b"as5-2" => Some(Self::M5),
63
_ => None,
64
65
0 commit comments