Re: [PATCH] perf, x86: add Intel IvyBridge event scheduling constraints

From: Stephane Eranian
Date: Thu Feb 21 2013 - 05:35:26 EST


On Wed, Feb 20, 2013 at 11:08 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>> > Except for LDM_PENDING the CYCLE_ACTIVITY events have been also added to Sandy Bridge.
>> > So it should be also added there.
>> >
>> As far as I know and I double-checked the documentation I have, there
>> is no CYCLE_ACTIVITY
>> event on SNB or SNB-EP.
>
> page 19-28 in the Jan 2013 SDM. It was only recently added.
> It's only a subset of what you have on Ivy Bridge.
>
I have confirmed that this is a typo in the SDM. This event is not
available on SandyBridge.

>>
>> > In fact I think you can still share the table because it would just add some
>> > non existent events to Sandy Bridge, which is a noop.
>> >
>> I don't see the point of this, except saving a few bytes. Isn't it
>> better to keep each PMU separate?
>
> Ok, as long as you update the SNB table too.
>
> -Andi
--
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/