summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-08-12 02:26:25 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-08-22 18:19:08 +0300
commitd66dccdb13c9748f27d8401b45c027953fc833e8 (patch)
tree9c0f3ab5246fb5a43f28b96ec4a83d576b37afcf /tools/perf/pmu-events
parent8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6 (diff)
downloadlinux-d66dccdb13c9748f27d8401b45c027953fc833e8.tar.xz
perf tools: Dedup events in expression parsing
Avoid adding redundant events while parsing an expression. When we add an "other" event check first if it already exists. v2: Fix perf test failure. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20170811232634.30465-10-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events')
0 files changed, 0 insertions, 0 deletions