diff options
author | Steve Dickson <steved@redhat.com> | 2014-03-20 10:16:09 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-20 10:16:09 -0400 |
commit | c747d1854733587a1075761ac3fa28ba33278226 (patch) | |
tree | c61b77d50655167e3831df554a6a75dedda6a735 | |
parent | cd92912e1fb05263364350d2b036884b3ed5e305 (diff) | |
download | systemtap-master.tar.gz systemtap-master.tar.xz systemtap-master.zip |
Signed-off-by: Steve Dickson <steved@redhat.com>
-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") } |