summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]btrace5
1 files changed, 3 insertions, 2 deletions
diff --git a/btrace b/btrace
index 86493c5..f902707 100755..100644
--- a/btrace
+++ b/btrace
@@ -9,16 +9,17 @@
TRACEOPTS=""
PARSEOPTS="-b100000"
SUMMARIZE=""
-USAGE="Usage: btrace [-s] [-t] [-S] [-w N] [-a <trace>...] <dev>..."
+USAGE="Usage: btrace [-s] [-t] [-S] [-w N] [-a <trace>...] [-r <dbg mnt]<dev>..."
DIRNAME=`dirname $0`
-while getopts "a:stSw:hv" c
+while getopts "a:r:stSw:hv" c
do
case $c in
a) TRACEOPTS=$TRACEOPTS" -a "$OPTARG" ";;
w) TRACEOPTS=$TRACEOPTS" -w "$OPTARG" ";;
n) TRACEOPTS=$TRACEOPTS" -n "$OPTARG" ";;
b) TRACEOPTS=$TRACEOPTS" -b "$OPTARG" ";;
+ r) TRACEOPTS=$TRACEOPTS" -r "$OPTARG" ";;
s) PARSEOPTS=$PARSEOPTS" -s";;
t) PARSEOPTS=$PARSEOPTS" -t";;
h) PARSEOPTS=$PARSEOPTS" -h";;