diff options
| author | Ian Rogers <irogers@google.com> | 2025-02-28 14:22:59 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:44:31 +0200 |
| commit | 04c7d4424691a0b0714d3fa8e1ed4dc829ac2658 (patch) | |
| tree | e547a5d2e9e652a4875a4cc3250e3809c4b8db5a /.gitignore | |
| parent | a4c70eb0502dca4a3027645f6e694afb407643b0 (diff) | |
| download | linux-04c7d4424691a0b0714d3fa8e1ed4dc829ac2658.tar.gz linux-04c7d4424691a0b0714d3fa8e1ed4dc829ac2658.tar.bz2 linux-04c7d4424691a0b0714d3fa8e1ed4dc829ac2658.zip | |
perf evlist: Add success path to evlist__create_syswide_maps
[ Upstream commit fe0ce8a9d85a48642880c9b78944cb0d23e779c5 ]
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 <howardchu95@gmail.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250228222308.626803-3-irogers@google.com
Fixes: 8c0498b6891d7ca5 ("perf evlist: Fix create_syswide_maps() not propagating maps")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
