perf evlist: Use the right prefix for alternative 'struct evlist' constructors

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:
Arnaldo Carvalho de Melo
2020-11-30 15:04:05 -03:00
parent 900c8ead5b
commit 606e2c2933
12 changed files with 16 additions and 18 deletions

View File

@@ -58,9 +58,9 @@ int test__task_exit(struct test *test __maybe_unused, int subtest __maybe_unused
signal(SIGCHLD, sig_handler);
evlist = perf_evlist__new_default();
evlist = evlist__new_default();
if (evlist == NULL) {
pr_debug("perf_evlist__new_default\n");
pr_debug("evlist__new_default\n");
return -1;
}