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.
static void dump_stack(void)
{
- fprintf(stderr, "%s:%d\n", __func__, __LINE__);
#ifdef HAVE_BACKTRACE
char **strings;
int nptrs = backtrace(backtrace_buffer, BT_STACK_SZ);
strings = backtrace_symbols(backtrace_buffer, nptrs);
- fprintf(stderr, "%s: nptrs=%d\n", __func__, nptrs);
-
if (strings == NULL) {
fuse_log(FUSE_LOG_ERR, "Failed to get backtrace symbols: %s\n",
strerror(errno));
print_help
fi
-while getopts "hf:t:" opt; do
+while getopts "hf:t:p:" opt; do
case $opt in
h)
print_help
t)
TRACE="$OPTARG"
;;
+ p)
+ PROGRAM_PATH="$OPTARG"
+ ;;
*)
print_help
;;