]> git.baikalelectronics.ru Git - kernel.git/commit
perf_events: Fix bogus AMD64 generic TLB events
authorStephane Eranian <eranian@google.com>
Fri, 15 Oct 2010 13:15:01 +0000 (15:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Oct 2010 17:58:48 +0000 (19:58 +0200)
commit3263227523f62ed35ee59315aecce35c5cf4e4ca
treeaf811c141b19286f715d75c564f121aeda40f309
parentc1be38daf7927a4033539165da1cfb1f8f53cde9
perf_events: Fix bogus AMD64 generic TLB events

PERF_COUNT_HW_CACHE_DTLB:READ:MISS had a bogus umask value of 0 which
counts nothing. Needed to be 0x7 (to count all possibilities).

PERF_COUNT_HW_CACHE_ITLB:READ:MISS had a bogus umask value of 0 which
counts nothing. Needed to be 0x3 (to count all possibilities).

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: <stable@kernel.org> # as far back as it applies
LKML-Reference: <4cb85478.41e9d80a.44e2.3f00@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_amd.c