summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2008-08-11 14:22:19 -0400
committerSteve Dickson <steved@redhat.com>2008-08-11 14:22:19 -0400
commit3fc0e545a2aa1a2a3717cb3fc652f8876a03c073 (patch)
treea0147fd173a1a056b4174e63b35203ff84a5926f
parent948971e5911134a957892a497fa92f13196d0e40 (diff)
downloadsystemtap-3fc0e545a2aa1a2a3717cb3fc652f8876a03c073.tar.gz
systemtap-3fc0e545a2aa1a2a3717cb3fc652f8876a03c073.tar.xz
systemtap-3fc0e545a2aa1a2a3717cb3fc652f8876a03c073.zip
Added svc_export_put
-rw-r--r--svc_export.stp9
1 files changed, 8 insertions, 1 deletions
diff --git a/svc_export.stp b/svc_export.stp
index e1a7f22..eb36538 100644
--- a/svc_export.stp
+++ b/svc_export.stp
@@ -25,6 +25,10 @@ probe module("nfsd").function("svc_export_request")
{
printf("svc_export_request: cd 0x%p h 0x%p\n", $cd, $h);
}
+probe module("nfsd").function("svc_export_put")
+{
+ printf("svc_export_put: ref 0x%p \n", $ref);
+}
probe module("nfsd").function("svc_export_parse")
{
printf(" svc_export_parse: cd %p(%s) mlen %d\n",
@@ -34,8 +38,11 @@ probe module("nfsd").function("svc_export_parse")
}
probe module("nfsd").function("svc_export_parse").return
{
- if ($return < 0)
+ if ($return < 0) {
printf(" svc_export_parse: error %s\n", errno_str($return));
+ } else {
+ printf(" svc_export_parse: count %d\n", $return);
+ }
}
probe begin { log("starting svc_export probe") }
probe end { log("ending svc_export probe") }