Update DTrace nfs scripts to track the proper provider names.
Submitted by: Alex Burlyga
This commit is contained in:
parent
c5bfe674df
commit
950cbf40e2
@ -56,7 +56,7 @@ syscall:::return
|
||||
self->syscallname = "";
|
||||
}
|
||||
|
||||
nfsclient:::
|
||||
nfscl:::
|
||||
/self->syscallname != 0 && self->syscallname != ""/
|
||||
{
|
||||
|
||||
@ -64,7 +64,7 @@ nfsclient:::
|
||||
self->syscallname);
|
||||
}
|
||||
|
||||
nfsclient:::
|
||||
nfscl:::
|
||||
/self->syscallname == 0 || self->syscallname == ""/
|
||||
{
|
||||
|
||||
|
@ -53,13 +53,13 @@ syscall:::entry
|
||||
self->count = 0;
|
||||
}
|
||||
|
||||
nfsclient:nfs3::start
|
||||
nfscl:nfs3::start
|
||||
{
|
||||
|
||||
self->timestamp = timestamp;
|
||||
}
|
||||
|
||||
nfsclient:nfs3::done
|
||||
nfscl:nfs3::done
|
||||
{
|
||||
|
||||
self->count += (timestamp - self->timestamp);
|
||||
|
Loading…
Reference in New Issue
Block a user