]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c64f6f42206aef25407bd4c417f37956fc52e5a
treef047f8386d47d85a2c017430c5f5e9a1b399ea36
parent51cc72bfe2adca337d0afa63bec1e3e4da5ba367
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