Differential D11713 Diff 31127 cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/tst.macroglob.ksh
Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/tst.macroglob.ksh
Show All 25 Lines | |||||
if [ $# != 1 ]; then | if [ $# != 1 ]; then | ||||
echo expected one argument: '<'dtrace-path'>' | echo expected one argument: '<'dtrace-path'>' | ||||
exit 2 | exit 2 | ||||
fi | fi | ||||
dtrace=$1 | dtrace=$1 | ||||
$dtrace -ln 'syscall::*$1:entry' read | awk '{print $(NF-1),$NF}' | sort | $dtrace -ln 'syscall:freebsd:*$1:entry' read \ | ||||
markj: I find it a bit easier to read if the pipe comes before the newline, as you did in the final… | |||||
lwhsuAuthorUnsubmitted Not Done Inline Actionsright, I reformatted them but missed this one. lwhsu: right, I reformatted them but missed this one. | |||||
$dtrace -ln 'syscall::$1*:entry' read | awk '{print $(NF-1),$NF}' | sort | | awk '{print $(NF-1),$NF}' | grep -v -E 'compat.\.' | sort | ||||
$dtrace -ln 'syscall::re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort | $dtrace -ln 'syscall:freebsd:$1*:entry' read | awk '{print $(NF-1),$NF}' | sort | ||||
$dtrace -ln 'syscall::$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort | $dtrace -ln 'syscall:freebsd:re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort | ||||
$dtrace -ln 'syscall::p$1[0-9][0-9]:entry' read | awk '{print $(NF-1),$NF}' | \ | $dtrace -ln 'syscall:freebsd:$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort | ||||
sort | $dtrace -ln 'syscall:freebsd:w$1[0-9]:entry' ait | \ | ||||
awk '{print $(NF-1),$NF}' | sort | |||||
exit $status | exit $status |
I find it a bit easier to read if the pipe comes before the newline, as you did in the final dtrace invocation.