[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110324184100.GP31407@erda.amd.com>
Date: Thu, 24 Mar 2011 19:41:00 +0100
From: Robert Richter <robert.richter@....com>
To: Andi Kleen <andi@...stfloor.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH] oprofile: Allow setting EDGE/INV/CMASK for Intel
counter events v2
On 16.03.11 15:44:33, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> For some performance events it's useful to set the EDGE and INV
> bits and the CMASK mask in the counter control register. The list
> of predefined events Intel releases for each CPU has some events which
> require these settings to get more "natural" to use higher level events.
>
> oprofile currently doesn't allow this.
>
> This patch adds new extra configuration fields for them, so that
> they can be specified in oprofilefs.
>
> An updated oprofile daemon can then make use of this to set them.
>
> v2: Write back masked extra value to variable.
> Signed-off-by: Andi Kleen <ak@...ux.intel.com>
> ---
> arch/x86/oprofile/nmi_int.c | 5 +++++
> arch/x86/oprofile/op_counter.h | 1 +
> 2 files changed, 6 insertions(+), 0 deletions(-)
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core
Thanks Andi,
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
--
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