summaryrefslogtreecommitdiffstats
path: root/nfsd
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-03-10 09:47:15 -0500
committerSteve Dickson <steved@redhat.com>2010-03-10 09:47:15 -0500
commita6bd8abec6f7344f402766d8528ed135b3be5185 (patch)
tree4e3e5e48c4c77ad333b7003e90620dccd5fb83ac /nfsd
parent0f61930c05daf5fcaf6a68032476fb73a24a619a (diff)
downloadsystemtap-a6bd8abec6f7344f402766d8528ed135b3be5185.tar.gz
systemtap-a6bd8abec6f7344f402766d8528ed135b3be5185.tar.xz
systemtap-a6bd8abec6f7344f402766d8528ed135b3be5185.zip
Added check_nfsd_access
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/nfsd_fh.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/nfsd/nfsd_fh.stp b/nfsd/nfsd_fh.stp
index 697fa51..7880941 100644
--- a/nfsd/nfsd_fh.stp
+++ b/nfsd/nfsd_fh.stp
@@ -89,6 +89,16 @@ probe module("nfsd").function("rqst_exp_find").return
if ($return != 0)
printf(" rqst_exp_find: %p\n", $return);
}
+probe module("nfsd").function("check_nfsd_access")
+{
+ printf(" check_nfsd_access: flavors: %s rq_flavor %d\n",
+ svc_export_flavors($exp), $rqstp->rq_flavor);
+}
+probe module("nfsd").function("check_nfsd_access").return
+{
+ if ($return != 0)
+ printf(" check_nfsd_access: %s\n", nfsderror($return));
+}
/*
probe module("nfsd").function("exp_find_key").return
{