[<prev] [next>] [day] [month] [year] [list]
Message-ID: <158894308775.8414.592152669889924990.tip-bot2@tip-bot2>
Date: Fri, 08 May 2020 13:04:47 -0000
From: "tip-bot2 for Arnaldo Carvalho de Melo" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: perf/core] perf evsel: Ditch perf_evsel__cmp(), not used for
quite a while
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 53fcfa6b8efe0efdb32236ed75c8c2fdc3aa65d2
Gitweb: https://git.kernel.org/tip/53fcfa6b8efe0efdb32236ed75c8c2fdc3aa65d2
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 30 Apr 2020 10:55:04 -03:00
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitterDate: Tue, 05 May 2020 16:35:31 -03:00
perf evsel: Ditch perf_evsel__cmp(), not used for quite a while
In 4c358d5cf361 ("perf stat: Replace transaction event possition check
with id check") all its uses were removed, so ditch it.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/evsel.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h
index 4246cad..8d61109 100644
--- a/tools/perf/util/evsel.h
+++ b/tools/perf/util/evsel.h
@@ -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,
Powered by blists - more mailing lists