diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-30 13:43:07 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-30 13:43:07 +0100 |
commit | 2a6599cd5e093b3c607a39288f14a618c03a0e24 (patch) | |
tree | b3501505bc16ef95594c38802386de6daab13050 /tools/perf/tests/sw-clock.c | |
parent | perf evlist: Use the right prefix for 'struct evlist' sideband thread methods (diff) | |
download | linux-2a6599cd5e093b3c607a39288f14a618c03a0e24.tar.xz linux-2a6599cd5e093b3c607a39288f14a618c03a0e24.zip |
perf evlist: Use the right prefix for 'struct evlist' sample parsing 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/tests/sw-clock.c')
-rw-r--r-- | tools/perf/tests/sw-clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/sw-clock.c b/tools/perf/tests/sw-clock.c index 4b9b731977c8..a49c9e23053b 100644 --- a/tools/perf/tests/sw-clock.c +++ b/tools/perf/tests/sw-clock.c @@ -109,7 +109,7 @@ static int __test__sw_clock_freq(enum perf_sw_ids clock_id) if (event->header.type != PERF_RECORD_SAMPLE) goto next_event; - err = perf_evlist__parse_sample(evlist, event, &sample); + err = evlist__parse_sample(evlist, event, &sample); if (err < 0) { pr_debug("Error during parse sample\n"); goto out_delete_evlist; |