powerpc/perf: Move perf core & PMU code into a subdirectory
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 20 Feb 2012 17:02:09 +0000 (17:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Feb 2012 23:50:04 +0000 (10:50 +1100)
commitf2699491e06584a2ebb0939f108ad29f3b151456
tree62c68617c28ac901bddb54b1d1ec108d2809a282
parent12d9299241241200e4f34f3b02f206fa8384a923
powerpc/perf: Move perf core & PMU code into a subdirectory

The perf code has grown a lot since it started, and is big enough to
warrant its own subdirectory. For reference it's ~60% bigger than the
oprofile code. It declutters the kernel directory, makes it simpler to
grep for "just perf stuff", and allows us to shorten some filenames.

While we're at it, make it more obvious that we have two implementations
of the core perf logic. One for (roughly) Book3S CPUs, which was the
original implementation, and the other for Freescale embedded CPUs.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
14 files changed:
arch/powerpc/Makefile
arch/powerpc/kernel/Makefile
arch/powerpc/perf/Makefile [new file with mode: 0644]
arch/powerpc/perf/callchain.c [moved from arch/powerpc/kernel/perf_callchain.c with 99% similarity]
arch/powerpc/perf/core-book3s.c [moved from arch/powerpc/kernel/perf_event.c with 100% similarity]
arch/powerpc/perf/core-fsl-emb.c [moved from arch/powerpc/kernel/perf_event_fsl_emb.c with 100% similarity]
arch/powerpc/perf/e500-pmu.c [moved from arch/powerpc/kernel/e500-pmu.c with 100% similarity]
arch/powerpc/perf/mpc7450-pmu.c [moved from arch/powerpc/kernel/mpc7450-pmu.c with 100% similarity]
arch/powerpc/perf/power4-pmu.c [moved from arch/powerpc/kernel/power4-pmu.c with 100% similarity]
arch/powerpc/perf/power5+-pmu.c [moved from arch/powerpc/kernel/power5+-pmu.c with 100% similarity]
arch/powerpc/perf/power5-pmu.c [moved from arch/powerpc/kernel/power5-pmu.c with 100% similarity]
arch/powerpc/perf/power6-pmu.c [moved from arch/powerpc/kernel/power6-pmu.c with 99% similarity]
arch/powerpc/perf/power7-pmu.c [moved from arch/powerpc/kernel/power7-pmu.c with 100% similarity]
arch/powerpc/perf/ppc970-pmu.c [moved from arch/powerpc/kernel/ppc970-pmu.c with 99% similarity]