]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 18:59:42 +0000 (10:59 -0800)
commitcef2c20c88c122f0dea3dadcc56bcdc0077061c4
tree20c1f2751b68051b51edea47dccb05c1fefed149
parent2a64ff4337bc785563d187ddbfe4385888bda665
perf_events: Fix bogus AMD64 generic TLB events

commit ba0cef3d149ce4db293c572bf36ed352b11ce7b9 upstream.

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>
LKML-Reference: <4cb85478.41e9d80a.44e2.3f00@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/cpu/perf_event_amd.c