OSDN Git Service

arm64: perf: Move event definitions into perf_event.h
authorWill Deacon <will.deacon@arm.com>
Fri, 5 Oct 2018 12:31:10 +0000 (13:31 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 21 Nov 2018 13:16:34 +0000 (13:16 +0000)
commit4b47e573a4a4f462b619fe623f6dab5c723c2f27
tree8458809cebd6231e58a15acc2dbb8592d76e818a
parentcf7175ece01741317e1ea07609d0ec0dcbc9c31a
arm64: perf: Move event definitions into perf_event.h

The PMU event numbers are split between perf_event.h and perf_event.c,
which makes it difficult to spot any gaps in the numbers which may be
allocated in the future.

This patch sorts the events numerically, adds some missing events and
moves the definitions into perf_event.h.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/perf_event.h
arch/arm64/kernel/perf_event.c