summaryrefslogtreecommitdiff
path: root/tools/perf/util/sideband_evlist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-04-29 15:42:16 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-05-05 16:35:30 -0300
commit65ddce3fd87a822d25c8632afb347b8ece607746 (patch)
tree53e23b73f8896b05522c1d3a327bc9a111190bef /tools/perf/util/sideband_evlist.c
parent6dd912cbadb9f9746a525c74f09c0e36cee13ee2 (diff)
perf evsel: Rename 'struct perf_evsel__sb_cb_t' to 'struct evsel__sb_cb_t'
As the "perf_" prefix should be restricted to functions and types in tools/lib/perf/, aka libperf, this way we reduce a bit the confusion for types only in libperf or the ones in the more contained tools/perf/ project. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Song Liu <songliubraving@fb.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sideband_evlist.c')
-rw-r--r--tools/perf/util/sideband_evlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/sideband_evlist.c b/tools/perf/util/sideband_evlist.c
index 1d6f470d64c4..bb3706fbcc0c 100644
--- a/tools/perf/util/sideband_evlist.c
+++ b/tools/perf/util/sideband_evlist.c
@@ -13,7 +13,7 @@
#include <stdbool.h>
int perf_evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr,
- perf_evsel__sb_cb_t cb, void *data)
+ evsel__sb_cb_t cb, void *data)
{
struct evsel *evsel;
@@ -81,7 +81,7 @@ static void *perf_evlist__poll_thread(void *arg)
return NULL;
}
-void evlist__set_cb(struct evlist *evlist, perf_evsel__sb_cb_t cb, void *data)
+void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data)
{
struct evsel *evsel;