]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51cc72bfe2adca337d0afa63bec1e3e4da5ba367
tree8b431be8ee299a4123c59b96d44cdf3226474f02
parente820db27fcf0946b7771ceefab74e632896edd0b
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