From c747d1854733587a1075761ac3fa28ba33278226 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 20 Mar 2014 10:16:09 -0400 Subject: Added rpc_create.stp Signed-off-by: Steve Dickson --- sunrpc/rpc_create.stp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sunrpc/rpc_create.stp 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") } -- cgit