OSDN Git Service

arm: perf: armv6: condense event maps
authorMark Rutland <mark.rutland@arm.com>
Fri, 30 May 2014 16:46:13 +0000 (17:46 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 2 Jul 2014 14:48:19 +0000 (15:48 +0100)
commitcf20ae8cfcb3ab4013b7766abe22d251c99fee15
treef047f8386d47d85a2c017430c5f5e9a1b399ea36
parent6b7658ec8a100b608e59e3cde353434db51f5be0
arm: perf: armv6: condense event maps

Now that we have macros for declaring fully invalid event maps, put them
to work for all the ARMv6 PMU event maps. While this necessitates
repeating common indices, we no longer need to refer to *_UNSUPPORTED
events at all, and it makes it possible for the even maps to fit on a
single page on a reasonably sized monitor.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v6.c