diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2020-11-30 17:17:57 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-11-30 17:17:57 +0000 |
| commit | 3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91 (patch) | |
| tree | 89b17c26c542756333b635dc107ce88df3398073 /tools/perf/builtin-script.c | |
| parent | perf evlist: Ditch unused set/reset sample_bit methods (diff) | |
| download | kernel-3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91.tar.gz kernel-3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91.zip | |
perf evlist: Use the right prefix for 'struct evlist' sample id lookup methods
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/,
go on completing this split.
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 983c101965ab..1c322c129185 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -2224,7 +2224,7 @@ static int print_event_with_time(struct perf_tool *tool, { struct perf_script *script = container_of(tool, struct perf_script, tool); struct perf_session *session = script->session; - struct evsel *evsel = perf_evlist__id2evsel(session->evlist, sample->id); + struct evsel *evsel = evlist__id2evsel(session->evlist, sample->id); struct thread *thread = NULL; if (evsel && !evsel->core.attr.sample_id_all) { |
