summaryrefslogtreecommitdiffstats
path: root/lockd
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-03-12 10:26:42 -0400
committerSteve Dickson <steved@redhat.com>2009-03-12 10:26:42 -0400
commit9fe4ad92f52a1ec8aa0c236ac30f925ba459dd08 (patch)
tree9e1926eaab300fa473045db56c1ad6b48ebc36f1 /lockd
parent9cf2e11a2eebd032e64795ed51325c7e0c20f769 (diff)
downloadsystemtap-9fe4ad92f52a1ec8aa0c236ac30f925ba459dd08.tar.gz
systemtap-9fe4ad92f52a1ec8aa0c236ac30f925ba459dd08.tar.xz
systemtap-9fe4ad92f52a1ec8aa0c236ac30f925ba459dd08.zip
Added lockd/lockd_clnt.stp
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'lockd')
-rw-r--r--lockd/lockd_clnt.stp35
1 files changed, 35 insertions, 0 deletions
diff --git a/lockd/lockd_clnt.stp b/lockd/lockd_clnt.stp
new file mode 100644
index 0000000..04c7637
--- /dev/null
+++ b/lockd/lockd_clnt.stp
@@ -0,0 +1,35 @@
+probe module("lockd").function("nlmclnt_call")
+{
+ printf("nlmclnt_call: cred %p req %p proc %d\n",
+ $cred, $req, $proc);
+}
+probe module("lockd").function("nlmclnt_call").return
+{
+ if ($return) {
+ printf("nlmclnt_call: %d (%s)\n", $return, errno_str($return));
+ }
+}
+probe module("lockd").function("nsm_monitor")
+{
+ printf("nsm_nmonitor: host %p\n", $host);
+}
+probe module("lockd").function("nsm_monitor").return
+{
+ if ($return) {
+ printf("nsm_monitor: %d (%s)\n", $return, errno_str($return));
+ }
+}
+probe module("lockd").function("nsm_unmonitor")
+{
+ printf("nsm_unmonitor: host %p\n", $host);
+}
+/*
+probe module("lockd").function("nsm_unmonitor").return
+{
+ if ($return)
+ printf("nsm_unmonitor: %d (%s)\n", $return, errno_str($return));
+}
+*/
+probe begin { log("starting lockd probe") }
+probe end { log("ending lockd probe") }
+