perf: Add support for PERF_HW_COUNT_REF_CPU_CYCLES
authorStephane Eranian <eranian@google.com>
Sat, 10 Dec 2011 23:28:54 +0000 (00:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Dec 2011 09:26:41 +0000 (10:26 +0100)
commitf1ac18af219835fd5b8e19c14d2dd75c55f78737
tree3cd2dfa81d3256c7b63040c6b0b687176a36fe30
parent9c1497ea591b25d491f8e795f90a1405100b75ef
perf: Add support for PERF_HW_COUNT_REF_CPU_CYCLES

Add new generic hw event: ref-cycles, which maps to
PERF_HW_COUNT_REF_CPUCYCLES:

 $ perf stat -e ref-cycles ls

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-5-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c