perf/x86/amd: Remove l1-dcache-stores event for AMD
authorVince Weaver <[email protected]>
Wed, 9 Dec 2015 16:34:45 +0000 (11:34 -0500)
committerIngo Molnar <[email protected]>
Wed, 6 Jan 2016 10:15:39 +0000 (11:15 +0100)
commit9cc2617de5b9222abb39cd02e90d57dfea99c6d7
tree26055191e8c6db261e3f0fa9aa743150becddd3d
parent77af0037de0a280eeabc632890de871f062ea7be
perf/x86/amd: Remove l1-dcache-stores event for AMD

This is a long standing bug with the l1-dcache-stores generic event on
AMD machines.  My perf_event testsuite has been complaining about this
for years and I'm finally getting around to trying to get it fixed.

The data_cache_refills:system event does not make sense for l1-dcache-stores.
Maybe this was a typo and it was meant to be for l1-dcache-store-misses?

In any case, the values returned are nowhere near correct for l1-dcache-stores
and in fact the umask values for the event have completely changed with
fam15h so it makes even less sense than ever.  So just remove it.

Signed-off-by: Vince Weaver <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1512091134350.24311@vincent-weaver-1.umelst.maine.edu
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_amd.c