Re: [PATCH] perf_events: remove bogus Intel Core constraint on ITLB_MISS_RETIRED

From: Stephane Eranian
Date: Thu Mar 11 2010 - 16:09:35 EST


On Thu, Mar 11, 2010 at 1:07 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Thu, 2010-03-11 at 12:59 -0800, eranian@xxxxxxxxxx wrote:
>> Contrary to what Vol3b section 30.4.3 leads to believe, there is
>> no constraint on ITLB_MISS_RETIRED on Intel Core-based CPU, so
>> remove it.
>
> Is that from Intel, and will they clarify the text in the next version
> of the document?
>
Yes.

>> Signed-off-by: Stephane Eranian <eranian@xxxxxxxxxx>
>> --
>> Âperf_event_intel.c | Â Â1 -
>> Â1 file changed, 1 deletion(-)
>> diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
>> index 971dc6e..58e83cd 100644
>> --- a/arch/x86/kernel/cpu/perf_event_intel.c
>> +++ b/arch/x86/kernel/cpu/perf_event_intel.c
>> @@ -43,7 +43,6 @@ static struct event_constraint intel_core2_event_constraints[] =
>> Â Â Â INTEL_EVENT_CONSTRAINT(0x18, 0x1), /* IDLE_DURING_DIV */
>> Â Â Â INTEL_EVENT_CONSTRAINT(0x19, 0x2), /* DELAYED_BYPASS */
>> Â Â Â INTEL_EVENT_CONSTRAINT(0xa1, 0x1), /* RS_UOPS_DISPATCH_CYCLES */
>> - Â Â INTEL_EVENT_CONSTRAINT(0xc9, 0x1), /* ITLB_MISS_RETIRED (T30-9) */
>> Â Â Â INTEL_EVENT_CONSTRAINT(0xcb, 0x1), /* MEM_LOAD_RETIRED */
>> Â Â Â EVENT_CONSTRAINT_END
>> Â};
>
>
>
>



--
Stephane Eranian | EMEA Software Engineering
Google France | 38 avenue de l'OpÃra | 75002 Paris
Tel : +33 (0) 1 42 68 53 00
This email may be confidential or privileged. If you received this
communication by mistake, please
don't forward it to anyone else, please erase all copies and
attachments, and please let me know that
it went to the wrong person. Thanks
--
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/