Re: [PATCH 2/3] perf: Add support for extra parameters for rawevents
From: Andi Kleen
Date: Fri Nov 12 2010 - 05:28:02 EST
On Thu, Nov 11, 2010 at 09:37:38PM +0100, Peter Zijlstra wrote:
> On Thu, 2010-11-11 at 21:12 +0100, Andi Kleen wrote:
> > > Also, I think we can use the same mechanism to program the
> > > PEBS-load-latency MSR, right?
> >
> > I haven't looked at that, but if it's a per core resource
> > the infrastructure can be reused at least.
>
> Can't remember if the load-latency msr is per-core, but its an extra reg
> that needs to be set.
Ok. I guess it shouldn't be too hard to add.
Load-latency is pretty useful too.
>
> The nhm/wsm LBR config msr is per-core though, so that could use your
> infrastructure too.
Stephane mentioned that too. Not right now, but perhaps later I'll
look at using this.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/