diff -Naurp '--exclude=debian' '--exclude=.pc' oprofile-0.9.6.orig/utils/opcontrol oprofile-0.9.6/utils/opcontrol --- oprofile-0.9.6.orig/utils/opcontrol 2011-07-07 10:47:29.000000000 -0500 +++ oprofile-0.9.6/utils/opcontrol 2011-07-07 10:55:32.000000000 -0500 @@ -785,7 +785,8 @@ do_options() ;; --save) - error_if_invalid_arg $arg $val + error_if_invalid_arg $arg $val + error_if_not_basename $arg $val DUMP=yes SAVE_SESSION=yes SAVE_NAME=$val