Re: [PATCH v2 0/4] perf/x86: simplify PEBS event constraint management

From: Stephane Eranian
Date: Mon Aug 11 2014 - 15:58:17 EST


On Mon, Aug 11, 2014 at 9:56 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Mon, Aug 11, 2014 at 09:27:09PM +0200, Stephane Eranian wrote:
>> This patchkit revamps the PEBS tables on most Intel CPUs, both simplifying
>> and fixing a couple of problems on Haswell processors:
>> - All PEBS event supported
>> - data address and data source is now reported correctly for all events
>>
>> We simplify the tables by using the fact that non-PEBS event when used
>> in PEBS mode do not generate any PEBS records , thus they are safe to use.
>> This helps simplify the PEBS event constraints because they do not need
>> to list all suported PEBS events anymore. They only need to list
>> the special PEBS events, such as precise store and load latency.
>> This avoid some issues where the kernel is missing some PEBS events.
>>
>> In V2, we cleanup some more the precise_datala() for store events.
>
> Ah, I just queued your v1, time to swap patches around I suppose :-)

Yeah, I cleanup some more based on more comments from Andi.
No more hardcoded event codes.
--
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/