[PATCH] scripts/decode_stacktrace.sh update usage to show vmlinux is mandatory
From: Jinchao Wang
Date: Mon Jan 12 2026 - 04:11:13 EST
The script currently errors out if vmlinux is not provided, but the
usage string implies it is optional. Remove the square brackets to
correctly indicate that <vmlinux> is a required argument.
Signed-off-by: Jinchao Wang <wangjinchao600@xxxxxxxxx>
---
scripts/decode_stacktrace.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh
index 8d01b741de62..83478a42d749 100755
--- a/scripts/decode_stacktrace.sh
+++ b/scripts/decode_stacktrace.sh
@@ -6,7 +6,7 @@
usage() {
echo "Usage:"
echo " $0 -r <release>"
- echo " $0 [<vmlinux> [<base_path>|auto [<modules_path>]]]"
+ echo " $0 <vmlinux> [<base_path>|auto [<modules_path>]]"
echo " $0 -h"
}
--
2.43.0