From 210347ae15af983b970dcba405a8bef0c255602b Mon Sep 17 00:00:00 2001 From: Frajo Haider Date: Mon, 4 Sep 2023 12:24:54 +0300 Subject: [PATCH] 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: https://github.com/torvalds/linux/commit/c5baf9089246c1356705c9ba36d767ee8ce43dd2 --- Tools/perf-disassemble.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/perf-disassemble.sh b/Tools/perf-disassemble.sh index 323cb8fcd9..551f97a73b 100755 --- a/Tools/perf-disassemble.sh +++ b/Tools/perf-disassemble.sh @@ -31,6 +31,9 @@ do --stop-address=*) stop="${1##--stop-address=}" ;; + --no-show-raw-insn) + raw= + ;; --no-show-raw) raw= ;;