Detect LBR v2 on PerfMonV2 CPUs. Reserve the per-CPU branch filter
at allocation, and turn branch recording on and off with the PMCs
that use it. PMC_CAP_LBR is not advertised yet.
Depends on D60568
Differential D60569
hwpmc/amd: add LBR v2 detection and filter reservation Authored by afscoelho_gmail.com on Sat, Oct 10, 1:22 AM.
Details
Detect LBR v2 on PerfMonV2 CPUs. Reserve the per-CPU branch filter Depends on D60568 Built amd64 GENERIC + hwpmc.ko, GENERIC without HWPMC_HOOKS, and arm64.
Diff Detail
|