ARM: perf: move CPU-specific PMU handling code into separate file