summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLi Huafei <lihuafei1@huawei.com>2024-10-19 23:41:55 +0800
committerNamhyung Kim <namhyung@kernel.org>2024-10-23 15:35:38 -0700
commitb4e0e9a1e30059f4523c9b6a1f8045ad89b5db8a (patch)
tree406588225ebeb6df091d103501654b14f29a25f5 /tools/perf/scripts/python/export-to-sqlite.py
parent36fae9f93e5f00eb3e410784ce99a4d7503aa12e (diff)
perf disasm: Use disasm_line__free() to properly free disasm_line
The structure disasm_line contains members that require dynamically allocated memory and need to be freed correctly using disasm_line__free(). This patch fixes the incorrect release in symbol__disassemble_capstone(). Fixes: 6d17edc113de ("perf annotate: Use libcapstone to disassemble") Signed-off-by: Li Huafei <lihuafei1@huawei.com> Tested-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: sesse@google.com Cc: kjain@linux.ibm.com Link: https://lore.kernel.org/r/20241019154157.282038-1-lihuafei1@huawei.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions