summaryrefslogtreecommitdiffstats
path: root/sunrpc/auth-client.stp
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/auth-client.stp')
-rw-r--r--sunrpc/auth-client.stp37
1 files changed, 37 insertions, 0 deletions
diff --git a/sunrpc/auth-client.stp b/sunrpc/auth-client.stp
new file mode 100644
index 0000000..289adc1
--- /dev/null
+++ b/sunrpc/auth-client.stp
@@ -0,0 +1,37 @@
+/*
+probe module("sunrpc").function("rpcauth_wrap_req")
+{
+ printf("rpcauth_wrap_req: encode %p\n", $encode);
+}
+
+probe module("auth_rpcgss").function("gss_unwrap_resp")
+{
+ printf("gss_unwrap_resp: task %p decode %p\n", $task, $decode);
+}
+probe module("auth_rpcgss").function("gss_unwrap_resp").return
+{
+ printf("gss_unwrap_resp: %d\n", $return);
+}
+*/
+probe module("sunrpc").function("rpcauth_generic_bind_cred")
+{
+ printf("rpcauth_generic_bind_cred:\n");
+ print_stack(backtrace());
+}
+probe module("nfs").function("nfs4_xdr_enc_create")
+{
+ printf("nfs4_xdr_enc_create:\n");
+ print_stack(backtrace());
+}
+probe module("nfs").function("nfs3_xdr_createres").return
+{
+ if ($return)
+ printf("nfs3_xdr_createres: %d\n", $return);
+}
+probe module("nfs").function("nfs4_xdr_dec_create").return
+{
+ if ($return)
+ printf("nfs4_xdr_dec_create: %d\n", $return);
+}
+probe begin { log("starting sunrpc auth probe") }
+probe end { log("ending sunrpc auth probe") }