summaryrefslogtreecommitdiff
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 21:11:10 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 21:15:30 +0300
commit44d2a5573665ab5dfb72572e43184388d15d695e (patch)
tree22ae119628451f049801709264380d566752e02c /tools/perf/util/session.c
parent25f84702f3590ce6caa3e5bb98e001692f3a2b9e (diff)
downloadlinux-44d2a5573665ab5dfb72572e43184388d15d695e.tar.xz
perf evlist: Use the right prefix for 'struct evlist' raw samples 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/session.c')
-rw-r--r--tools/perf/util/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index bf10576d257a..83de32090008 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -221,7 +221,7 @@ struct perf_session *perf_session__new(struct perf_data *data,
perf_session__set_comm_exec(session);
}
- perf_evlist__init_trace_event_sample_raw(session->evlist);
+ evlist__init_trace_event_sample_raw(session->evlist);
/* Open the directory data. */
if (data->is_dir) {