Modify glob patterns and expected output to match FreeBSD's implementation.

Reviewed by:	gnn, markj, ngie
Differential Revision:	https://reviews.freebsd.org/D11713
This commit is contained in:
Li-Wen Hsu 2017-07-25 13:14:02 +00:00
parent 5604d0f997
commit 637ba06516
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321470
2 changed files with 15 additions and 7 deletions

View File

@ -31,11 +31,12 @@ fi
dtrace=$1
$dtrace -ln 'syscall::*$1:entry' read | awk '{print $(NF-1),$NF}' | sort
$dtrace -ln 'syscall::$1*:entry' read | awk '{print $(NF-1),$NF}' | sort
$dtrace -ln 'syscall::re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort
$dtrace -ln 'syscall::$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort
$dtrace -ln 'syscall::p$1[0-9][0-9]:entry' read | awk '{print $(NF-1),$NF}' | \
sort
$dtrace -ln 'syscall:freebsd:*$1:entry' read | \
awk '{print $(NF-1),$NF}' | grep -v -E 'compat.\.' | sort
$dtrace -ln 'syscall:freebsd:$1*: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:freebsd:$1l*:entry' read | awk '{print $(NF-1),$NF}' | sort
$dtrace -ln 'syscall:freebsd:w$1[0-9]:entry' ait | \
awk '{print $(NF-1),$NF}' | sort
exit $status

View File

@ -1,15 +1,22 @@
FUNCTION NAME
aio_read entry
obs_vread entry
pread entry
read entry
rtprio_thread entry
FUNCTION NAME
read entry
readlink entry
readlinkat entry
readv entry
FUNCTION NAME
read entry
readlink entry
readlinkat entry
readv entry
FUNCTION NAME
readlink entry
readlinkat entry
FUNCTION NAME
pread64 entry
wait4 entry
wait6 entry