OSDN Git Service

arm64: perf: Remove duplicate generic cache events
authorWill Deacon <will.deacon@arm.com>
Fri, 5 Oct 2018 12:28:57 +0000 (13:28 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 21 Nov 2018 13:16:33 +0000 (13:16 +0000)
commitcf7175ece01741317e1ea07609d0ec0dcbc9c31a
tree0b1924c056718da93e946eefd51d95bae1a12a89
parent342e53bd8548e07c6a734d2d3a6437ad6e6d3b09
arm64: perf: Remove duplicate generic cache events

We cannot distinguish reads from writes in our generic cache events, so
drop the WRITE entries and leave the READ entries pointing to the combined
read/write events, as is done by other CPUs and architectures.

Reported-by: Ganapatrao Kulkarni <Ganapatrao.Kulkarni@cavium.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c