• W
    ARM: perf: separate PMU backends into multiple files · 43eab878
    Will Deacon 提交于
    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>
    43eab878
perf_event.c 16.5 KB