diff options
-rw-r--r-- | sunrpc/rpc_create.stp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sunrpc/rpc_create.stp b/sunrpc/rpc_create.stp new file mode 100644 index 0000000..36db8d3 --- /dev/null +++ b/sunrpc/rpc_create.stp @@ -0,0 +1,19 @@ +probe module("sunrpc").function("rpc_create").return +{ + printf("rpc_create: %d(%s)\n", $return, errno_str($return)); + //print_stack(backtrace()); +} +probe module("sunrpc").function("rpc_ping").return +{ + printf("rpc_ping: 0x%x\n", $return); +} +probe module("sunrpc").function("rpc_create").return +{ + printf("rpc_create: 0x%x\n", $return); +} +probe module("nfs").function("nfs_create_rpc_client").return +{ + printf("nfs_create_rpc_client: %d\n", $return); +} +probe begin { log("starting rpc_create probe") } +probe end { log("ending rpc_create probe") } |