arm: perf: armv7: condense event maps
authorMark Rutland <mark.rutland@arm.com>
Fri, 30 May 2014 16:27:21 +0000 (17:27 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 2 Jul 2014 14:47:09 +0000 (15:47 +0100)
commit6b7658ec8a100b608e59e3cde353434db51f5be0
tree8b431be8ee299a4123c59b96d44cdf3226474f02
parent1113ff98c4a993b40e524d4422beb3b4140cbdca
arm: perf: armv7: condense event maps

Now that we have macros for declaring fully invalid event maps, put them
to work for all the ARMv7 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>
Tested-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v7.c