• Stephen Boyd's avatar
    ARM: perf: Preparatory work for Scorpion PMU support · 65bab451
    Stephen Boyd authored
    Do some things to make the Krait PMU support code generic enough
    to be used by the Scorpion PMU support code.
    
     * Rename the venum register functions to be venum instead of krait
       specific because the same registers exist on Scorpion
    
     * Add some macros to decode our Krait specific event encoding that's
       the same on Scorpion (modulo an extra region).
    
     * Drop 'krait' from krait_clear_pmresrn_group() so it can be used
       by Scorpion code
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    65bab451
perf_event_v7.c 45.1 KB