diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2023-07-31 12:18:56 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-15 16:41:49 -0300 |
commit | 42c6dd9d23019ff339d0aca80a444eb71087050e (patch) | |
tree | 487e2d80d4ec077c7e29091119577c8fd384d18b /tools/perf/scripts/python/task-analyzer.py | |
parent | f178a76b054fd046d212c3c67745146ff191a443 (diff) |
perf dlfilter: Initialize addr_location before passing it to thread__find_symbol_fb()
As thread__find_symbol_fb() will end up calling thread__find_map() and
it in turn will call these on uninitialized memory:
maps__zput(al->maps);
map__zput(al->map);
thread__zput(al->thread);
Fixes: 0dd5041c9a0eaf8c ("perf addr_location: Add init/exit/copy functions")
Reviewed-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Disha Goel <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions