]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf annotate: Return errors from disasm_line__parse_powerpc()
authorAthira Rajeev <atrajeev@linux.ibm.com>
Tue, 4 Mar 2025 15:41:14 +0000 (21:11 +0530)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 7 Mar 2025 00:52:24 +0000 (16:52 -0800)
commit4c3f09e35ca999f69b623d94bf185fe090878296
tree1f63edf60079d25a22d1250426686cfab982b67d
parentdab8c32ece27c7d8cf01e9b68041edaf5ddd8adf
perf annotate: Return errors from disasm_line__parse_powerpc()

In disasm_line__parse_powerpc() , return code from function
disasm_line__parse() is ignored. This will result in bad results
if the disasm_line__parse() fails to disasm the line. Use
the return code to fix this.

Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com>
Tested-By: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Link: https://lore.kernel.org/r/20250304154114.62093-2-atrajeev@linux.ibm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/disasm.c