Tools: fix perf-disassemble.sh.

perf now passes the proper no-show-raw-insn option instead of no-show-raw.

Keep no-show-raw as a fallback for older kernels/perf-toolings.

See also: c5baf90892
This commit is contained in:
Frajo Haider 2023-09-04 12:24:54 +03:00
parent 3e9c9a3e8d
commit 210347ae15
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ do
--stop-address=*) --stop-address=*)
stop="${1##--stop-address=}" stop="${1##--stop-address=}"
;; ;;
--no-show-raw-insn)
raw=
;;
--no-show-raw) --no-show-raw)
raw= raw=
;; ;;