From e5feb8fe0c1c865138e4a6388eb19c6c03821684 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 1 Mar 2010 12:15:02 -0500 Subject: Added nfs-probes.stp and rpc-probes.stp Signed-off-by: Steve Dickson --- nfs-probes.stp | 15 +++++++++++++++ rpc-probes.stp | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 nfs-probes.stp create mode 100644 rpc-probes.stp 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") } + -- cgit