• Paul Mundt's avatar
    sh: perf events: Add preliminary support for SH-4A counters. · ac44e669
    Paul Mundt authored
    This adds in preliminary support for the SH-4A performance counters.
    Presently only the first 2 counters are supported, as these are the ones
    of the most interest to the perf tool and end users. Counter chaining is
    not presently handled, so these are simply implemented as 32-bit
    counters.
    
    This also establishes a perf event support framework for other hardware
    counters, which the existing SH-4 oprofile code will migrate over to as
    the SH-4A support evolves.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    ac44e669
Makefile 1.88 KB