• Mark Rutland's avatar
    arm: perf: factor out xscale pmu driver · a12c72cc
    Mark Rutland authored
    Now that the core arm perf code maintains no global state and all
    microarchitecture-specific PMU data can be fed in through the shared
    probe function, it's possible to use it as a library and get rid of the
    C file includes we have currently.
    
    This patch factors out the xscale-specific portions out into the xscale
    driver. For the moment this is always built if perf event support is
    enabled, but the preprocessor guards will leave behind an empty file.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    a12c72cc
perf_event_cpu.c 10.5 KB