diff options
| author | Ian Rogers <[email protected]> | 2025-02-28 22:22:59 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-03-12 01:55:37 +0000 |
| commit | fe0ce8a9d85a48642880c9b78944cb0d23e779c5 (patch) | |
| tree | 842f97d87e5c1fd7ad6cb25b27a259ab373d2326 /tools/perf/util/python.c | |
| parent | perf debug: Avoid stack overflow in recursive error message (diff) | |
| download | kernel-fe0ce8a9d85a48642880c9b78944cb0d23e779c5.tar.gz kernel-fe0ce8a9d85a48642880c9b78944cb0d23e779c5.zip | |
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: Howard Chu <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-by: Arnaldo Carvalho de Melo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 8c0498b6891d7ca5 ("perf evlist: Fix create_syswide_maps() not propagating maps")
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
