You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf tests: objdump output can contain multi byte chunks
objdump's raw insn output can vary across architectures on number of
bytes per chunk (bpc) displayed and their endian.
code-reading test relied on reading objdump output as 1 bpc. Kaixu Xia
reported test failure on ARM64, where objdump displays 4 bpc:
70c48: f90027bf str xzr, [x29,torvalds#72]
70c4c: 91224000 add x0, x0, #0x890
70c50: f90023a0 str x0, [x29,torvalds#64]
This patch adds support to read raw insn output for any bpc length.
In case of 2+ bpc it also guesses objdump's display endian.
Signed-off-by: Jan Stancek <[email protected]>
Reported-and-tested-by: Kaixu Xia <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
0 commit comments