[PATCH 30/32] perf, x86: Add a Haswell precise instructions event v2

2012-11-09 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 30/32] perf, x86: Add a Haswell precise instructions event v2

2012-11-09 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

[PATCH 30/32] perf, x86: Add a Haswell precise instructions event v2

2012-10-30 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 30/32] perf, x86: Add a Haswell precise instructions event v2

2012-10-30 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