arm: perf: factor arm_pmu core out to drivers
authorMark Rutland <mark.rutland@arm.com>
Mon, 6 Jul 2015 11:23:53 +0000 (12:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 31 Jul 2015 14:01:14 +0000 (15:01 +0100)
commitfa8ad7889d83bcf0a6cdbf6d3622f3ec019cde14
tree424ea935a8d5f40d099359351cf5074f50b8852f
parentbc1e3c4687df62a1f2ba1b6be11efbeb76145366
arm: perf: factor arm_pmu core out to drivers

To enable sharing of the arm_pmu code with arm64, this patch factors it
out to drivers/perf/. A new drivers/perf directory is added for
performance monitor drivers to live under.

MAINTAINERS is updated accordingly. Files added previously without a
corresponsing MAINTAINERS update (perf_regs.c, perf_callchain.c, and
perf_event.h) are also added.

Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[will: augmented Kconfig help slightly]
Signed-off-by: Will Deacon <will.deacon@arm.com>
15 files changed:
MAINTAINERS
arch/arm/Kconfig
arch/arm/include/asm/pmu.h [deleted file]
arch/arm/kernel/Makefile
arch/arm/kernel/perf_event.c [deleted file]
arch/arm/kernel/perf_event_v6.c
arch/arm/kernel/perf_event_v7.c
arch/arm/kernel/perf_event_xscale.c
arch/arm/mach-ux500/cpu-db8500.c
drivers/Kconfig
drivers/Makefile
drivers/perf/Kconfig [new file with mode: 0644]
drivers/perf/Makefile [new file with mode: 0644]
drivers/perf/arm_pmu.c [new file with mode: 0644]
include/linux/perf/arm_pmu.h [new file with mode: 0644]