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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user