diff options
author | Ian Rogers <irogers@google.com> | 2025-06-17 15:33:55 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-24 10:27:51 -0700 |
commit | eda9e47fae276d2b7a2b6a826b38259e6481d879 (patch) | |
tree | 6a79882411ef3a033930e5412b7733307010f696 /tools/lib/bitmap.c | |
parent | 9a79c50c2a95887859d5ac133180775b708b850a (diff) |
perf trace: Add missed freeing of ordered events and thread
Caught by leak sanitizer running "perf trace BTF general tests". Make
the ordered_events initialization unconditional and early so that
trace__exit cleanup is simple - ordered_events__init doesn't allocate
and just sets up 4 values and inits 3 list heads.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250617223356.2752099-3-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions