perf, x86: Enable not tagged retired instruction counting on P4s
authorCyrill Gorcunov <gorcunov@openvz.org>
Mon, 15 Mar 2010 04:58:22 +0000 (12:58 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Mar 2010 07:14:34 +0000 (08:14 +0100)
commite4495262826d1eabca3529fa6ac22394eb348132
tree61ed42e15b785c20e0a1b3a9518d4699ce240199
parent8576e1971663ffdb6139041de97cdd2e1d4791cc
perf, x86: Enable not tagged retired instruction counting on P4s

This should turn on instruction counting on P4s, which was missing in
the first version of the new PMU driver.

It's inaccurate for now, we still need dependant event to tag mops
before we can count them precisely. The result is that the number of
instruction may be lifted up.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1268629102.3355.11.camel@minggr.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event_p4.h
arch/x86/kernel/cpu/perf_event_p4.c