]> git.baikalelectronics.ru Git - kernel.git/commit
perf events: Add stalled cycles generic event - PERF_COUNT_HW_STALLED_CYCLES
authorIngo Molnar <mingo@elte.hu>
Sun, 24 Apr 2011 06:18:31 +0000 (08:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 Apr 2011 18:04:53 +0000 (20:04 +0200)
commit564d298bd4d9bd62394a7d3dcb40c9bff4617d2c
treeb0c8d9cf3ce49bf9faadcf5564e9996d0090b5c8
parent6df916474a107779aa81925efbe47255f49d83bd
perf events: Add stalled cycles generic event - PERF_COUNT_HW_STALLED_CYCLES

The new PERF_COUNT_HW_STALLED_CYCLES event tries to approximate
cycles the CPU does nothing useful, because it is stalled on a
cache-miss or some other condition.

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/n/tip-fue11vymwqsoo5to72jxxjyl@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel.c
include/linux/perf_event.h
tools/perf/util/parse-events.c
tools/perf/util/python.c