diff options
author | 2020-11-30 14:17:57 -0300 | |
---|---|---|
committer | 2020-11-30 14:17:57 -0300 | |
commit | 3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91 (patch) | |
tree | 89b17c26c542756333b635dc107ce88df3398073 /tools/perf/util/header.c | |
parent | perf evlist: Ditch unused set/reset sample_bit methods (diff) | |
download | linux-3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91.tar.gz linux-3ccf8a7b66b6bff69a7be62f2d5a2a61328ebe91.tar.bz2 linux-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 <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/header.c')
-rw-r--r-- | tools/perf/util/header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 64a3b83b3090..be219051119c 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c @@ -4030,7 +4030,7 @@ int perf_event__process_event_update(struct perf_tool *tool __maybe_unused, evlist = *pevlist; - evsel = perf_evlist__id2evsel(evlist, ev->id); + evsel = evlist__id2evsel(evlist, ev->id); if (evsel == NULL) return -EINVAL; |