diff options
| author | Ian Rogers <irogers@google.com> | 2025-06-17 15:33:56 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-24 10:27:51 -0700 |
| commit | be59dba332e1e8edd3e88d991ba0e4795ae2bcb2 (patch) | |
| tree | 600416de450b5b00d939a8fee95f1098449fc626 /tools/perf/scripts/python/bin | |
| parent | perf trace: Add missed freeing of ordered events and thread (diff) | |
| download | linux-be59dba332e1e8edd3e88d991ba0e4795ae2bcb2.tar.gz linux-be59dba332e1e8edd3e88d991ba0e4795ae2bcb2.zip | |
libperf evsel: Add missed puts and asserts
A missed evsel__close before evsel__delete was the source of leaking
perf events due to a hybrid test. Add asserts in debug builds so that
this shouldn't happen in the future. Add puts missing on the cpu map
and thread maps.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250617223356.2752099-4-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
