diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-30 14:52:44 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-30 14:52:44 -0300 |
commit | e414fd1a3f709984a03f0fa287e39df6a7218e22 (patch) | |
tree | 26e5c42f6c66799fc4a14f99dce8f350fdced3a2 /tools/perf/util/sort.c | |
parent | 0a60b339475970213f2685d0da55a26d5f4f22f9 (diff) | |
download | linux-e414fd1a3f709984a03f0fa287e39df6a7218e22.tar.gz linux-e414fd1a3f709984a03f0fa287e39df6a7218e22.tar.bz2 linux-e414fd1a3f709984a03f0fa287e39df6a7218e22.zip |
perf evlist: Use the right prefix for 'struct evlist' evsel list methods
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>
Diffstat (limited to 'tools/perf/util/sort.c')
-rw-r--r-- | tools/perf/util/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index d42339df20f8..7d87bfcffb3f 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c @@ -2756,7 +2756,7 @@ static const char *get_default_sort_order(struct evlist *evlist) BUG_ON(sort__mode >= ARRAY_SIZE(default_sort_orders)); - if (evlist == NULL || perf_evlist__empty(evlist)) + if (evlist == NULL || evlist__empty(evlist)) goto out_no_evlist; evlist__for_each_entry(evlist, evsel) { |