diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-28 09:57:54 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-28 09:57:54 +0100 |
commit | ac44e6694755744fe96442919da1f2c7e87a2a61 (patch) | |
tree | 155ecdb56348513eb434df87edfccc779c40cc1a /drivers/edac/edac_device.c | |
parent | sh: mach-ecovec24: Add USB1 gadget support (diff) | |
download | linux-ac44e6694755744fe96442919da1f2c7e87a2a61.tar.xz linux-ac44e6694755744fe96442919da1f2c7e87a2a61.zip |
sh: perf events: Add preliminary support for SH-4A counters.
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: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/edac/edac_device.c')
0 files changed, 0 insertions, 0 deletions