[PATCH 31/31] perf, x86: Add a Haswell precise instructions event

2012-10-02 Thread Andi Kleen
From: Andi Kleen Add a instructions-p event alias that uses the PDIR randomized instruction retirement event. This is useful to avoid some systematic sampling shadow problems. Normally PEBS sampling has a systematic shadow. With PDIR enabled the hardware adds some randomization that

[PATCH 31/31] perf, x86: Add a Haswell precise instructions event

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add a instructions-p event alias that uses the PDIR randomized instruction retirement event. This is useful to avoid some systematic sampling shadow problems. Normally PEBS sampling has a systematic shadow. With PDIR enabled the hardware adds some