Re: [PATCH 1/2] perf-events: Add support for supplementary eventregisters v2

From: Stephane Eranian
Date: Mon Nov 15 2010 - 06:03:37 EST


On Sat, Nov 13, 2010 at 11:34 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> On Sat, 2010-11-13 at 11:17 +0100, Andi Kleen wrote:
>> > That would assume a single event doesn't contain offcore and lbr, no?
>> > Currently the extra_reg thing assumes there's only one extra reg encoded
>> > in the config word.
>>
>> It would not be too hard to make it an array if that's needed.
>
> I don't think we want to go there anyway, one extra_reg per config value
> is fine.
>
I think offcore goes into .config, lbr goes into extra_reg. That should take
care of combinations as well.
--
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/