Skip to content
  • Will Deacon's avatar
    ARM: perf: separate PMU backends into multiple files · 43eab878
    Will Deacon authored
    
    
    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: default avatarJean Pihet <j-pihet@ti.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    43eab878