Update DTrace nfs scripts to track the proper provider names.
Submitted by: Alex Burlyga
This commit is contained in:
parent
15b1492c9b
commit
c1eb4109f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287544
@ -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 == ""/
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user