perf events: Add Intel x86 mapping for PERF_COUNT_HW_REF_CPU_CYCLES
authorStephane Eranian <eranian@google.com>
Sat, 10 Dec 2011 23:28:53 +0000 (00:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Dec 2011 09:26:39 +0000 (10:26 +0100)
commit9c1497ea591b25d491f8e795f90a1405100b75ef
treebd1a16f86f98281f92ba25ed3b8703c7f134e972
parentc37e17497e01fc0f5d2d6feb5723b210b3ab8890
perf events: Add Intel x86 mapping for PERF_COUNT_HW_REF_CPU_CYCLES

Add event maps for Intel x86 processors (with architected PMU v2 or later).

On AMD, there is frequency scaling but no Turbo. There is no core
cycle event not subject to frequency scaling, therefore we do not
provide a mapping.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1323559734-3488-4-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel.c