Commit fe0ce8a9 authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim
Browse files

perf evlist: Add success path to evlist__create_syswide_maps



Over various refactorings evlist__create_syswide_maps has been made to
only ever return with -ENOMEM. Fix this so that when
perf_evlist__set_maps is successfully called, 0 is returned.

Reviewed-by: default avatarHoward Chu <howardchu95@gmail.com>
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Reviewed-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250228222308.626803-3-irogers@google.com


Fixes: 8c0498b6 ("perf evlist: Fix create_syswide_maps() not propagating maps")
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent bda84019
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment