aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <[email protected]>2021-01-25 18:36:43 +0530
committerMichael Ellerman <[email protected]>2021-01-30 11:40:04 +1100
commit718aae916fa6619c57c348beaedd675835cf1aa1 (patch)
tree60a77b05c95e0163382e4f6ac99902156122c1cd /tools/perf/scripts/python/exported-sql-viewer.py
parent8813ff49607eab3caaf40fe8929b0ce7dc68e85f (diff)
powerpc/sstep: Fix incorrect return from analyze_instr()
We currently just percolate the return value from analyze_instr() to the caller of emulate_step(), especially if it is a -1. For one particular case (opcode = 4) for instructions that aren't currently emulated, we are returning 'should not be single-stepped' while we should have returned 0 which says 'did not emulate, may have to single-step'. Fixes: 930d6288a26787 ("powerpc: sstep: Add support for maddhd, maddhdu, maddld instructions") Signed-off-by: Ananth N Mavinakayanahalli <[email protected]> Suggested-by: Michael Ellerman <[email protected]> Tested-by: Naveen N. Rao <[email protected]> Reviewed-by: Sandipan Das <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions