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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to