perf tools: Use perf_evsel__match instead of open coded equivalent
authorJiri Olsa <jolsa@kernel.org>
Fri, 20 Jul 2018 11:00:33 +0000 (13:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Jul 2018 17:54:13 +0000 (14:54 -0300)
commit2d6cae13f10d5d8b370038dbfdf60317c22b9f52
treee1fef86d8cbe76b312216406fb4dd1630b466924
parent46b3722cc7765582354488da633aafffcb138458
perf tools: Use perf_evsel__match instead of open coded equivalent

Use perf_evsel__match() helper in perf_evsel__is_bpf_output().

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180720110036.32251-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.h