ARM: perf: separate PMU backends into multiple files
The ARM perf_event.c file contains all PMU backends and, as new PMUs are introduced, will continue to grow. This patch follows the example of x86 and splits the PMU implementations into separate files which are then #included back into the main file. Compile-time guards are added to each PMU file to avoid compiling in code that is not relevant for the version of the architecture which we are targetting. Acked-by: NJean Pihet <j-pihet@ti.com> Signed-off-by: NWill Deacon <will.deacon@arm.com>
Showing
arch/arm/kernel/perf_event_v6.c
0 → 100644
arch/arm/kernel/perf_event_v7.c
0 → 100644
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录