Date: Thu, 3 Sep 2015 10:20:48 -0700 From: "alex.burlyga.ietf alex.burlyga.ietf" <alex.burlyga.ietf@gmail.com> To: freebsd-dtrace@freebsd.org Subject: Broken dtrace script in /usr/share/dtrace Message-ID: <CA%2BJhTNQjFXCaguomDzty3t97By50_=dY9_M_FUmQEamoMjZtyA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Wanted to show off dtrace to co-workers of mine and tried running
/usr/share/dtrace/nfsclienttime. I got an error and was not able to
run it. Patch bellow that fixes the issue on FreeBSD 10.
Alex
diff --git a/share/dtrace/nfsclienttime b/share/dtrace/nfsclienttime
index 335f067..e7764cf 100755
--- a/share/dtrace/nfsclienttime
+++ b/share/dtrace/nfsclienttime
@@ -54,13 +54,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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BJhTNQjFXCaguomDzty3t97By50_=dY9_M_FUmQEamoMjZtyA>
