perf_counter, x86: Fix generic cache events on P6-mobile CPUs
authorIngo Molnar <mingo@elte.hu>
Tue, 11 Aug 2009 08:26:33 +0000 (10:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 Aug 2009 09:35:26 +0000 (11:35 +0200)
commitf64ccccb8afa43abdd63fcbd230f818d6ea0883f
tree29997f80f5ff665d6c136caa3c176b8445797c70
parent3c581a7f94542341bf0da496a226b44ac63521a8
perf_counter, x86: Fix generic cache events on P6-mobile CPUs

Johannes Stezenbach reported that 'perf stat' does not count
cache-miss and cache-references events on his Pentium-M based
laptop.

This is because we left them blank in p6_perfmon_event_map[],
fill them in.

Reported-by: Johannes Stezenbach <js@sig21.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c