Page MenuHomeFreeBSD

arm64: Fix finding the pmc event ID
ClosedPublic

Authored by andrew on Apr 6 2021, 8:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 7:18 AM
Unknown Object (File)
Oct 19 2024, 6:12 AM
Unknown Object (File)
Oct 18 2024, 1:42 PM
Unknown Object (File)
Oct 17 2024, 2:12 PM
Unknown Object (File)
Oct 16 2024, 6:09 AM
Unknown Object (File)
Oct 15 2024, 7:03 AM
Unknown Object (File)
Oct 14 2024, 6:32 PM
Unknown Object (File)
Oct 13 2024, 1:50 AM
Subscribers

Details

Summary

The lower pmc event bits were masked off to find the PMC event ID.
The doesn't work when there are more events. Switch it to use the
offser relative to the first event while also checking the ID is
in the expected range.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable