lkml.org 
[lkml]   [2010]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 3/8] perf: register pmu implementations
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@chello.nl>
> ---
> 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@amd.com



\
 
 \ /
  Last update: 2010-06-16 18:51    [W:0.148 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site