summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-05-31 08:42:15 -0400
committerSteve Dickson <steved@redhat.com>2011-05-31 08:42:15 -0400
commit4cd6073a071d76a17c15b91c3388272d4d1d76af (patch)
tree575b37e76675f0182f4c0afbde96ef164c601fab
parent137adddecc9587763646721c6f3e9b6adc89c166 (diff)
downloadsystemtap-4cd6073a071d76a17c15b91c3388272d4d1d76af.tar.gz
systemtap-4cd6073a071d76a17c15b91c3388272d4d1d76af.tar.xz
systemtap-4cd6073a071d76a17c15b91c3388272d4d1d76af.zip
Cleaned up the output...
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--sunrpc/xprt.stp6
1 files changed, 4 insertions, 2 deletions
diff --git a/sunrpc/xprt.stp b/sunrpc/xprt.stp
index ca727d5..40e1bc7 100644
--- a/sunrpc/xprt.stp
+++ b/sunrpc/xprt.stp
@@ -21,7 +21,9 @@ probe module("sunrpc").function("xprt_connect_status")
}
probe module("sunrpc").function("xprt_connect_status").return
{
- printf("xprt_connect_status: %s(%d): %s\n", execname(), pid(), task_dump(xs_task));
+ tdump = task_dump(xs_task);
+ if (!isinstr("tk_status 0", tdump) && !isinstr("tk_status -11", tdump))
+ printf("xprt_connect_status: %s(%d): %s\n", execname(), pid(), tdump);
}
probe kernel.function("kernel_connect").return
{
@@ -70,7 +72,7 @@ probe module("sunrpc").function("xs_send_pagedata").return
*/
probe kernel.function("kernel_sendmsg").return
{
- if ($return < 0)
+ if ($return < 0 && $return != -11)
printf("kernel_sendmsg: %s(%d): status %d (%s)\n", execname(), pid(),
$return, errno_str($return));
}