perf evlist: Use the right prefix for 'struct evlist' diff methods
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 30 Nov 2020 18:18:48 +0000 (15:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 30 Nov 2020 18:18:48 +0000 (15:18 -0300)
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/,
go on completing this split.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c

index cefc715..8f6c784 100644 (file)
@@ -494,7 +494,7 @@ static struct evsel *evsel_match(struct evsel *evsel,
        return NULL;
 }
 
-static void perf_evlist__collapse_resort(struct evlist *evlist)
+static void evlist__collapse_resort(struct evlist *evlist)
 {
        struct evsel *evsel;
 
@@ -1214,7 +1214,7 @@ static int __cmd_diff(void)
                        goto out_delete;
                }
 
-               perf_evlist__collapse_resort(d->session->evlist);
+               evlist__collapse_resort(d->session->evlist);
 
                if (pdiff.ptime_range)
                        zfree(&pdiff.ptime_range);