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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user