aboutsummaryrefslogtreecommitdiffstats
path: root/util/parse-backtrace.sh
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-07-31 22:29:54 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2024-08-02 20:08:38 +0200
commitbeff8a8ebe1b413b4b572b93ddca24aaeb904f7a (patch)
treebb699afae3a2dabe4b2261dcbf3b2cf9e042cc8e /util/parse-backtrace.sh
parentcb7c16acbf138e613b851b7fcc1f4b5fabd5ddcd (diff)
downloadlibfuse-beff8a8ebe1b413b4b572b93ddca24aaeb904f7a.tar.gz
Fix program-path in util/parse-backtrace and dump_stack function
The option to the path of the binary had been accidentally removed in the scripts that can parse backtraces. The dump_stack() function had left over debug messages.
Diffstat (limited to 'util/parse-backtrace.sh')
-rwxr-xr-xutil/parse-backtrace.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/parse-backtrace.sh b/util/parse-backtrace.sh
index adf706d..3db96f8 100755
--- a/util/parse-backtrace.sh
+++ b/util/parse-backtrace.sh
@@ -23,7 +23,7 @@ if [ -z "$1" -o "$1" = "-h" -o "$1" = "--help" ]; then
print_help
fi
-while getopts "hf:t:" opt; do
+while getopts "hf:t:p:" opt; do
case $opt in
h)
print_help
@@ -34,6 +34,9 @@ while getopts "hf:t:" opt; do
t)
TRACE="$OPTARG"
;;
+ p)
+ PROGRAM_PATH="$OPTARG"
+ ;;
*)
print_help
;;