• Mark Rutland's avatar
    arm: perf: factor out armv6 pmu driver · 1fe115b3
    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 ARMv6-specific portions out into the ARMv6
    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>
    1fe115b3
perf_event_v6.c 18.5 KB