aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dwatch
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-05-29 22:36:37 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-05-29 22:36:37 +0000
commit7d958cc9aa0aa5303daef28fbba829197b580d5e (patch)
treedf9d0976e7f4b1ad7ecdc9ccd96f1b4b279f9446 /cddl/usr.sbin/dwatch
parent3e0e6330b52cb5af572ac2b5cda1199a32cbed4b (diff)
downloadsrc-7d958cc9aa0aa5303daef28fbba829197b580d5e.tar.gz
src-7d958cc9aa0aa5303daef28fbba829197b580d5e.zip
dwatch(1): Fix "-t test" for post-processing profiles
Profiles that perform post-processing of the DTrace output were dropping the "-t test" option on the floor. Fix handling of this option for said profiles. X-MFC-to: stable/11 X-MFC-with: r334261-334262 Sponsored by: Smule, Inc.
Notes
Notes: svn path=/head/; revision=334359
Diffstat (limited to 'cddl/usr.sbin/dwatch')
-rwxr-xr-xcddl/usr.sbin/dwatch/dwatch6
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/usr.sbin/dwatch/dwatch b/cddl/usr.sbin/dwatch/dwatch
index 0002bad15a32..8d90d8173dfe 100755
--- a/cddl/usr.sbin/dwatch/dwatch
+++ b/cddl/usr.sbin/dwatch/dwatch
@@ -47,7 +47,7 @@ DTRACE_PRAGMA="
############################################################ GLOBALS
-VERSION='$Version: 1.3 $' # -V
+VERSION='$Version: 1.4 $' # -V
pgm="${0##*/}" # Program basename
@@ -576,8 +576,8 @@ load_profile()
ARGV="$ARGV -z '$( shell_escape "$EXECREGEX" )'"
[ "$CUSTOM_DETAILS" ] &&
ARGV="$ARGV -E '$( shell_escape "$EVENT_DETAILS" )'"
- [ "$EVENT_TEST" ] &&
- ARGV="$ARGV -t '$( shell_escape "$EVENT_TEST" )'"
+ [ "$CUSTOM_TEST" ] &&
+ ARGV="$ARGV -t '$( shell_escape "$CUSTOM_TEST" )'"
[ "$OUTPUT" ] &&
ARGV="$ARGV -o '$( shell_escape "$OUTPUT" )'"
[ "$OUTPUT_CMD" ] &&