diff options
author | Steve Dickson <steved@redhat.com> | 2011-05-31 09:11:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-05-31 09:11:49 -0400 |
commit | 92443846be732826c5d953a57e904b90fe0a1985 (patch) | |
tree | 1030f6f9f03cbf04354cd18066df9c1c37453a45 | |
parent | 4cd6073a071d76a17c15b91c3388272d4d1d76af (diff) | |
download | systemtap-92443846be732826c5d953a57e904b90fe0a1985.tar.gz systemtap-92443846be732826c5d953a57e904b90fe0a1985.tar.xz systemtap-92443846be732826c5d953a57e904b90fe0a1985.zip |
More output clean up
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | sunrpc/xprt.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/xprt.stp b/sunrpc/xprt.stp index 40e1bc7..87630a3 100644 --- a/sunrpc/xprt.stp +++ b/sunrpc/xprt.stp @@ -22,12 +22,12 @@ probe module("sunrpc").function("xprt_connect_status") probe module("sunrpc").function("xprt_connect_status").return { tdump = task_dump(xs_task); - if (!isinstr("tk_status 0", tdump) && !isinstr("tk_status -11", tdump)) + if (isinstr(tdump, "tk_status 0") != 1 && isinstr(tdump, "tk_status -11") != 1) printf("xprt_connect_status: %s(%d): %s\n", execname(), pid(), tdump); } probe kernel.function("kernel_connect").return { - if ($return < 0 && $return != -11) + if ($return < 0 && $return != -11 && $return != -115) printf("kernel_connect: %s(%d): status %d\n", execname(), pid(), $return); } probe module("sunrpc").function("xprt_transmit") |