-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib.pmu: rudimentary support for AMD family 17h CPUs
A machine readable listing of available PMU events for various AMD cpu models was not available, so instead I added a way to specify events by raw code by supplying a hexadecimal string literal (i.e., "0x00c0"). That way, lib.pmu is still useful on AMD CPUs for brave souls armed with a processor manual.
- Loading branch information
Showing
2 changed files
with
125 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters