diff options
author | Steve Dickson <steved@redhat.com> | 2011-06-01 10:49:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-06-01 10:49:49 -0400 |
commit | eb465e7878bcb56b29de3d35c20d376766648951 (patch) | |
tree | 6db49cff77d9ec76a9da9c7ba5b01b6e35d6eaad | |
parent | 6362a5ff268aaed71d56e05fa72195f9cfdce533 (diff) | |
download | systemtap-eb465e7878bcb56b29de3d35c20d376766648951.tar.gz systemtap-eb465e7878bcb56b29de3d35c20d376766648951.tar.xz systemtap-eb465e7878bcb56b29de3d35c20d376766648951.zip |
Added call_transmit_status
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | sunrpc/call_status.stp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sunrpc/call_status.stp b/sunrpc/call_status.stp index 6f9db17..2befbb8 100644 --- a/sunrpc/call_status.stp +++ b/sunrpc/call_status.stp @@ -3,21 +3,16 @@ */ global transmit, ctask -probe module("sunrpc").function("rpc_call_sync") -{ - printf("rpc_call_sync: %s(%d)\n", execname(), pid()); -} probe module("sunrpc").function("rpc_call_sync").return { if ($return < 0 && $return != -11) printf("rpc_call_sync: %s(%d): status %d\n", execname(), pid(), $return); } -probe module("sunrpc").function("__rpc_execute") +probe module("sunrpc").function("call_transmit_status") { ctask = $task; - printf("__rpc_execute: %s(%d)\n", execname(), pid()); } -probe module("sunrpc").function("__rpc_execute").return +probe module("sunrpc").function("call_transmit_status").return { terror = task_status(ctask); if (terror && terror != -11) |