Hotfix ARM CPU detection due to arch mismatch
This is a hotfix to avoid failure of ARM CPU detection with the new
detection code introduce by commit 15c4cd9f1f4a ("Add ARM hybrid detection").
For some processors, the architecture revision expected by libpfm4 does not
match the revision exported by the Linux kernel via cpuinfo. For instance,
the Neoverse V2 is a V9 processor, yet cpuinfo reports arch: 8. A few other
ARM processors may exhibit the same error.
The hotfix simply skips checking the arch revision for now.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
1 file changed