diff options
| author | Steve Dickson <steved@redhat.com> | 2009-06-10 11:21:37 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2009-06-10 11:21:37 -0400 |
| commit | dfdce363041b4fb72910837174bf40019923c9bc (patch) | |
| tree | 827cf40c3a311e8314c0e6719cebd7e0c34919ec /sunrpc | |
| parent | aaa6513f6db3a54691cfa7022bfbd979db42672e (diff) | |
| download | systemtap-dfdce363041b4fb72910837174bf40019923c9bc.tar.gz systemtap-dfdce363041b4fb72910837174bf40019923c9bc.tar.xz systemtap-dfdce363041b4fb72910837174bf40019923c9bc.zip | |
Reorganised scripts into local directories
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'sunrpc')
| -rw-r--r-- | sunrpc/rpc_killall.stp | 16 | ||||
| -rw-r--r-- | sunrpc/xprt.stp | 44 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sunrpc/rpc_killall.stp b/sunrpc/rpc_killall.stp new file mode 100644 index 0000000..7da2eb6 --- /dev/null +++ b/sunrpc/rpc_killall.stp @@ -0,0 +1,16 @@ +probe module("sunrpc").function("rpc_killall_tasks") +{ + printf("rpc_killall_tasks: clnt %p\n", $clnt); + //print_backtrace(); +} +probe module("sunrpc").function("rpc_shutdown_client") +{ + printf("rpc_shutdown_client: clnt %p\n", $clnt); +} +probe module("sunrpc").function("rpc_release_calldata") +{ + printf("rpc_release_calldata: ops %p calldata %p\n", $ops, $calldata); +} +probe begin { log("starting rpc_killall probe") } +probe end { log("ending rpc_killall probe") } + diff --git a/sunrpc/xprt.stp b/sunrpc/xprt.stp new file mode 100644 index 0000000..b6a0c73 --- /dev/null +++ b/sunrpc/xprt.stp @@ -0,0 +1,44 @@ +global xs_task, trans_task, udp_send_task + +probe module("sunrpc").function("xs_connect") +{ + printf("xs_connect: task %p\n", $task); + xs_task = $task; + //print_backtrace(); +} +probe module("sunrpc").function("xs_tcp_connect") +{ + printf("xs_tcp_connect: task %p\n", $task); + //print_backtrace(); + xs_task = $task; +} +probe module("sunrpc").function("xprt_connect_status") +{ + printf("xprt_connect_status: task %p\n", $task); +} +probe module("sunrpc").function("xprt_connect_status").return +{ + printf("xprt_connect_status: %s", task_dump(xs_task)); +} +probe module("sunrpc").function("xprt_transmit") +{ + printf("xprt_transmit: task %p\n", $task); + trans_task = $task; +} +probe module("sunrpc").function("xprt_transmit").return +{ + printf("xprt_transmit: %s", task_dump(trans_task)); +} +probe module("sunrpc").function("xs_udp_send_request") +{ + printf("xs_udp_send_request: task %p\n", $task); + udp_send_task = $task; +} +probe module("sunrpc").function("xs_udp_send_request").return +{ + if ($return) + printf("xs_udp_send_request: %d (%s)\n", $return, errno_str($return)); +} +probe begin { log("starting xprt probe") } +probe end { log("ending xprt probe") } + |
