summaryrefslogtreecommitdiffstats
path: root/nfsd/nfsd4_set_nfs4_acl.stp
diff options
context:
space:
mode:
Diffstat (limited to 'nfsd/nfsd4_set_nfs4_acl.stp')
-rw-r--r--nfsd/nfsd4_set_nfs4_acl.stp29
1 files changed, 29 insertions, 0 deletions
diff --git a/nfsd/nfsd4_set_nfs4_acl.stp b/nfsd/nfsd4_set_nfs4_acl.stp
new file mode 100644
index 0000000..45fcd85
--- /dev/null
+++ b/nfsd/nfsd4_set_nfs4_acl.stp
@@ -0,0 +1,29 @@
+#!/usr/bin/env stap
+/*
+ * To run:
+ * stap -g -I../tapset nfsd4_set_nfs4_acl.stp
+ */
+
+probe module("nfsd").function("nfsd4_set_nfs4_acl")
+{
+ printf("nfsd4_set_nfs4_acl: rqstp %p \n", $rqstp);
+}
+probe module("nfsd").function("nfsd4_set_nfs4_acl").return
+{
+ printf("nfsd4_set_nfs4_acl: %s\n", nfsderror($return));
+}
+probe module("nfsd").function("nfs4_acl_nfsv4_to_posix").return
+{
+ printf(" nfs4_acl_nfsv4_to_posix: %d(%s)\n", $return, errno_str($return));
+}
+probe module("nfsd").function("set_nfsv4_acl_one").return
+{
+ printf(" set_nfsv4_acl_one: %s\n", nfsderror($return));
+}
+probe module("nfsd").function("_nfsv4_to_posix_one").return
+{
+ printf(" _nfsv4_to_posix_one: %p\n", $return);
+}
+probe begin { log("starting nfsd4_set_nfs4_acl probe") }
+probe end { log("ending nfsd4_set_nfs4_acl probe") }
+