lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100616164501.GS21799@erda.amd.com>
Date:	Wed, 16 Jun 2010 18:45:01 +0200
From:	Robert Richter <robert.richter@....com>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC:	paulus <paulus@...ba.org>,
	stephane eranian <eranian@...glemail.com>,
	Will Deacon <will.deacon@....com>,
	Paul Mundt <lethal@...ux-sh.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Cyrill Gorcunov <gorcunov@...il.com>,
	Lin Ming <ming.m.lin@...el.com>,
	Yanmin <yanmin_zhang@...ux.intel.com>,
	Deng-Cheng Zhu <dengcheng.zhu@...il.com>,
	David Miller <davem@...emloft.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [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@...llo.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@....com

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ