OSDN Git Service

powerpc/perf: Pass the struct perf_events down to compute_mmcr()
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Jul 2014 11:12:37 +0000 (21:12 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:30:47 +0000 (14:30 +1000)
commit8abd818fc76705065f3699a753ad2df594dafe86
tree637f4dd5007249d03f8ce82b7ccf582646a1736c
parent79a4cb28a07c4e24103d00741a3dc2618532efe6
powerpc/perf: Pass the struct perf_events down to compute_mmcr()

To support per-event exclude settings on Power8 we need access to the
struct perf_events in compute_mmcr().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/perf_event_server.h
arch/powerpc/perf/core-book3s.c
arch/powerpc/perf/mpc7450-pmu.c
arch/powerpc/perf/power4-pmu.c
arch/powerpc/perf/power5+-pmu.c
arch/powerpc/perf/power5-pmu.c
arch/powerpc/perf/power6-pmu.c
arch/powerpc/perf/power7-pmu.c
arch/powerpc/perf/power8-pmu.c
arch/powerpc/perf/ppc970-pmu.c