Update DTrace nfs scripts to track the proper provider names.

Submitted by:	Alex Burlyga
This commit is contained in:
George V. Neville-Neil 2015-09-08 00:30:10 +00:00
parent 15b1492c9b
commit c1eb4109f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287544
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ syscall:::return
self->syscallname = ""; self->syscallname = "";
} }
nfsclient::: nfscl:::
/self->syscallname != 0 && self->syscallname != ""/ /self->syscallname != 0 && self->syscallname != ""/
{ {
@ -64,7 +64,7 @@ nfsclient:::
self->syscallname); self->syscallname);
} }
nfsclient::: nfscl:::
/self->syscallname == 0 || self->syscallname == ""/ /self->syscallname == 0 || self->syscallname == ""/
{ {

View File

@ -53,13 +53,13 @@ syscall:::entry
self->count = 0; self->count = 0;
} }
nfsclient:nfs3::start nfscl:nfs3::start
{ {
self->timestamp = timestamp; self->timestamp = timestamp;
} }
nfsclient:nfs3::done nfscl:nfs3::done
{ {
self->count += (timestamp - self->timestamp); self->count += (timestamp - self->timestamp);