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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user