diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-07-19 22:49:02 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-07-20 17:30:26 +0300 |
commit | fcca1faf11b47011770c361a1dfc36ed83905148 (patch) | |
tree | e578ca8874dbe58c379d46224c135f4b735433af /tools/perf/scripts/python/gecko.py | |
parent | 7962ef13651a9163f07b530607392ea123482e8a (diff) | |
download | linux-fcca1faf11b47011770c361a1dfc36ed83905148.tar.xz |
perf trace: Free thread_trace->files table
The fd->pathname table that is kept in 'struct thread_trace' and thus in
thread->priv must be freed when a thread is deleted.
This was also detected using -fsanitize=address.
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/20230719202951.534582-6-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions