diff options
author | Li Huafei <[email protected]> | 2024-10-19 23:41:57 +0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-10-23 15:36:14 -0700 |
commit | 150dab31d5609f896fbfaa06b442ca314da79858 (patch) | |
tree | 69bf086dc7aaf7789073374d0b17e92e621a5721 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 908d50e50ef91713ae94bc8988db87def6b6fec3 (diff) |
perf disasm: Fix not cleaning up disasm_line in symbol__disassemble_raw()
In symbol__disassemble_raw(), the created disasm_line should be
discarded before returning an error. When creating disasm_line fails,
break the loop and then release the created lines.
Fixes: 0b971e6bf1c3 ("perf annotate: Add support to capture and parse raw instruction in powerpc using dso__data_read_offset utility")
Signed-off-by: Li Huafei <[email protected]>
Tested-by: Athira Rajeev <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions