mirror of https://gitee.com/openkylin/linux.git
perf evsel: Ditch perf_evsel__cmp(), not used for quite a while
In 4c358d5cf3
("perf stat: Replace transaction event possition check
with id check") all its uses were removed, so ditch it.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
c754c382c9
commit
53fcfa6b8e
|
@ -265,12 +265,6 @@ static inline bool evsel__match2(struct evsel *e1, struct evsel *e2)
|
|||
(e1->core.attr.config == e2->core.attr.config);
|
||||
}
|
||||
|
||||
#define perf_evsel__cmp(a, b) \
|
||||
((a) && \
|
||||
(b) && \
|
||||
(a)->core.attr.type == (b)->core.attr.type && \
|
||||
(a)->core.attr.config == (b)->core.attr.config)
|
||||
|
||||
int perf_evsel__read_counter(struct evsel *evsel, int cpu, int thread);
|
||||
|
||||
int __perf_evsel__read_on_cpu(struct evsel *evsel,
|
||||
|
|
Loading…
Reference in New Issue