This will be used to detect supported pmu events. The expected format is
the MIDR register with the revision and variant fields masked. See
lib/libpmc/pmu-events/arch/arm64/mapfile.csv.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sys/dev/hwpmc/hwpmc_arm64.c | ||
|---|---|---|
| 522–523 | Create kern.hwpmc.cpuid.0 etc. (one per CPU) and deprecate kern.hwpmc.cpuid? | |
| sys/dev/hwpmc/hwpmc_arm64.c | ||
|---|---|---|
| 522–523 | I looked into this a bit, and tried to implement it. It is easy to provide on the kernel side, but the pmu bits in libpmc will need more significant work to plumb the notion of a desired CPU into all paths that invoke the sysctl. I think it would be best to leave this as a TODO for a more concentrated effort at addressing big.LITTLE in libpmc/hwpmc. | |