diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-06-11 03:23:35 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-06-17 14:29:03 +0300 |
| commit | 4a7500d772fe59653053db22ca83c9e2232b22e1 (patch) | |
| tree | e5dda853bedd13806ee1f5ca71fca4aae9af3d89 /scripts/Makefile.thinlto | |
| parent | 033e85edfbf271f92979d2a39aeaf40f8472a795 (diff) | |
| download | linux-4a7500d772fe59653053db22ca83c9e2232b22e1.tar.xz | |
perf c2c: Free format list entries when releasing c2c hist entries
c2c_hists__init() calls hpp_list__parse() which allocates and registers
format entries on hists->list. When c2c_he_free() destroys a c2c hist
entry, it deletes the histogram entries and frees the hists container but
never unregisters the format list entries, leaking them.
Call perf_hpp__reset_output_field() before freeing the hists to properly
unregister and free all format entries.
Fixes: f485e33c4543ac31 ("perf c2c report: Add cacheline hists processing")
Reported-by: sashiko-bot <sashiko-bot@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
