arm64: perf: factor out callchain code
authorMark Rutland <mark.rutland@arm.com>
Mon, 6 Jul 2015 11:23:54 +0000 (12:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:39 +0000 (11:08 +0100)
We currently bundle the callchain handling code with the PMU code,
despite the fact the two are distinct, and the former can be useful even
in the absence of the latter.

Follow the example of arch/arm and factor the callchain handling into
its own file dependent on CONFIG_PERF_EVENTS rather than
CONFIG_HW_PERF_EVENTS.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/perf_event.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/perf_callchain.c [new file with mode: 0644]
arch/arm64/kernel/perf_event.c

Simple merge
Simple merge
Simple merge
Simple merge