diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2017-08-30 21:42:23 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-09-01 14:46:00 -0300 |
commit | 2a118e1bd22cad57318520d37e3a184b8846c6a2 (patch) | |
tree | c3778a50f901edf633d1fbf6bb0a91549e8b5346 /tools/perf/arch/arm | |
parent | 4fb205392022ba99a45dd01a62c6e2df046e400a (diff) | |
download | blackbird-op-linux-2a118e1bd22cad57318520d37e3a184b8846c6a2.tar.gz blackbird-op-linux-2a118e1bd22cad57318520d37e3a184b8846c6a2.zip |
perf vendor events powerpc: Remove duplicate events
Some POWER PMU event names have multiple/alternate event codes. These
alternate event codes were listed in the POWER9 JSON files for
reference.
But the perf tool does not seem to handle duplicates cleanly. 'perf
list' shows such duplicate events only once, but 'perf stat' ends up
counting the first event code twice, multiplexing if necessary and we
end up with double the event counts.
Remove the duplicate event codes from the JSON files for now.
Reported-by: Michael Petlan <mpetlan@redhat.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Anton Blanchard <anton@au1.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/20170830231506.GB20351@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/arm')
0 files changed, 0 insertions, 0 deletions