summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2017-08-30 21:42:23 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-09-01 14:46:00 -0300
commit2a118e1bd22cad57318520d37e3a184b8846c6a2 (patch)
treec3778a50f901edf633d1fbf6bb0a91549e8b5346 /tools/include
parent4fb205392022ba99a45dd01a62c6e2df046e400a (diff)
downloadop-kernel-dev-2a118e1bd22cad57318520d37e3a184b8846c6a2.zip
op-kernel-dev-2a118e1bd22cad57318520d37e3a184b8846c6a2.tar.gz
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/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud