perf/x86: Update/fix generic events on P6 PMU
authorVince Weaver <vincent.weaver@maine.edu>
Fri, 19 Oct 2012 21:31:54 +0000 (17:31 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:31:58 +0000 (10:31 +0200)
commite09df47885d767e418902067ce1885aafa3b27db
tree20e8a2dea17e37556772fafa0b8ed16dbae5dc74
parent7991c9ca40d3127dd2ffa3a9c1e33f7d4005495a
perf/x86: Update/fix generic events on P6 PMU

This patch updates the generic events on p6, including some new
extended cache events.

Values for these events were taken from the equivelant PAPI
predefined events.

Tested on a Pentium II.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1210191730080.14552@vincent-weaver-1.um.maine.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_p6.c