[RFC][PATCH 00/19] perf pmu interface changes -v4

From: Peter Zijlstra
Date: Tue Sep 07 2010 - 13:00:34 EST


These patches prepare the perf code for multiple PMUs.

About the first half of these patches deals with removing all the weak
functions, the second half provides per pmu contexts.

New to the first half is Alpha, which got merged into mainline recently.

The second half is completely new and lightly tested, one known breakage is
that it currently doesn't allow to mix software and hardware events into a
single group (should be fixed soon).

Patches also available in git format for easy testing (tip/master + patches):

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-perf.git perf-pmu

Head should be baf996bc6d6

---

arch/alpha/kernel/perf_event.c | 113 ++-
arch/arm/kernel/perf_event.c | 136 ++-
arch/powerpc/kernel/perf_event.c | 164 ++-
arch/powerpc/kernel/perf_event_fsl_emb.c | 148 ++-
arch/sh/kernel/perf_event.c | 143 ++-
arch/sparc/kernel/perf_event.c | 164 ++-
arch/x86/kernel/cpu/perf_event.c | 176 ++-
arch/x86/kernel/cpu/perf_event_intel.c | 2 +-
arch/x86/kernel/cpu/perf_event_intel_ds.c | 2 +-
include/linux/ftrace_event.h | 4 +-
include/linux/perf_event.h | 113 +-
include/linux/sched.h | 9 +-
kernel/hw_breakpoint.c | 62 +-
kernel/perf_event.c | 2068 +++++++++++++++--------------
kernel/sched.c | 2 -
kernel/trace/trace_event_perf.c | 7 +-
16 files changed, 1889 insertions(+), 1424 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/