Re: [RFC][PATCH 3/8] perf: register pmu implementations

From: Robert Richter
Date: Wed Jun 16 2010 - 12:48:36 EST


On 16.06.10 12:00:30, Peter Zijlstra wrote:
> Simple registration interface for struct pmu, this provides the
> infrastructure for removing all the weak functions.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> ---
> arch/arm/kernel/perf_event.c | 36 +
> arch/powerpc/kernel/perf_event.c | 41 +-
> arch/powerpc/kernel/perf_event_fsl_emb.c | 31 -
> arch/sh/kernel/perf_event.c | 19
> arch/sparc/kernel/perf_event.c | 13
> arch/x86/kernel/cpu/perf_event.c | 45 +-
> include/linux/perf_event.h | 10
> kernel/hw_breakpoint.c | 35 +
> kernel/perf_event.c | 597 +++++++++++++++----------------
> 9 files changed, 432 insertions(+), 395 deletions(-)

Yes, this makes the code much more easier! Now it would be possible to
easy register multiple hw pmus.

Thanks Peter,

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@xxxxxxx

--
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/