summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-03-01 12:15:02 -0500
committerSteve Dickson <steved@redhat.com>2010-03-01 12:15:02 -0500
commite5feb8fe0c1c865138e4a6388eb19c6c03821684 (patch)
treee8c18a23f56539e5970b7d5d75d48c158e70576c
parent696cda5d5c0f62e6429445969f2680a7000f1e70 (diff)
downloadsystemtap-e5feb8fe0c1c865138e4a6388eb19c6c03821684.tar.gz
systemtap-e5feb8fe0c1c865138e4a6388eb19c6c03821684.tar.xz
systemtap-e5feb8fe0c1c865138e4a6388eb19c6c03821684.zip
Added nfs-probes.stp and rpc-probes.stp
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--nfs-probes.stp15
-rw-r--r--rpc-probes.stp40
2 files changed, 55 insertions, 0 deletions
diff --git a/nfs-probes.stp b/nfs-probes.stp
new file mode 100644
index 0000000..dc846cc
--- /dev/null
+++ b/nfs-probes.stp
@@ -0,0 +1,15 @@
+probe nfs.fop.entries {
+ printf("%s: %s\n", name, argstr)
+}
+probe nfs.fop.return {
+ printf("%s: %s\n", name, retstr);
+}
+probe nfs.aop.entries {
+ printf("%s: %s\n", name, argstr)
+}
+probe nfs.aop.return {
+ printf("%s: %s\n", name, retstr);
+}
+
+probe begin { log("Starting NFS client probes") }
+probe end { log("Ending NFS client probes") }
diff --git a/rpc-probes.stp b/rpc-probes.stp
new file mode 100644
index 0000000..48f7d67
--- /dev/null
+++ b/rpc-probes.stp
@@ -0,0 +1,40 @@
+/*
+probe sunrpc.sched.new_task {
+ printf("%s: xid %d prog %d vers %d prot %d flags %x\n",
+ name, xid, prog, vers, prot, flags);
+}
+probe sunrpc.sched.new_task.return {
+ printf("%s: retstr %s\n", name, retstr);
+}
+*/
+/*
+probe sunrpc.clnt.create_client {
+ printf("%s: server %s progname %s prog %d vers %d authflavor %d\n",
+ name, servername, progname, prog, vers, authflavor);
+}
+probe sunrpc.clnt.create_client.return {
+ printf("%s: retstr %s\n", name, retstr);
+}
+probe sunrpc.entry {
+ printf("%s: %s\n", name, argstr)
+}
+probe sunrpc.return {
+ printf("%s: %s\n", name, retstr);
+}
+probe sunrpc.clnt.entry {
+ printf("%s: %s\n", name, argstr)
+}
+probe sunrpc.clnt.return {
+ printf("%s: %s\n", name, retstr);
+}
+*/
+probe sunrpc.sched.entry {
+ printf("%s: %s\n", name, argstr)
+}
+probe sunrpc.sched.return {
+ printf("%s: %s\n", name, retstr);
+}
+
+probe begin { log("Starting RPC client probes") }
+probe end { log("Ending RPC client probes") }
+