summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-04 00:02:12 +0000
committerhunt <hunt>2005-08-04 00:02:12 +0000
commitac097ee0004070cfc1ee147885aefa06ab870f82 (patch)
tree7c248d704a5dd1e6aef8115cf3533f1011a1b331 /runtime/print.c
parent693885fca97ab04ff81f1303c1524d54606170b0 (diff)
downloadsystemtap-steved-ac097ee0004070cfc1ee147885aefa06ab870f82.tar.gz
systemtap-steved-ac097ee0004070cfc1ee147885aefa06ab870f82.tar.xz
systemtap-steved-ac097ee0004070cfc1ee147885aefa06ab870f82.zip
2005-08-03 Martin Hunt <hunt@redhat.com>
* io.c (_stp_vlog): Revert previous change for now. * print.c (_stp_print_flush): Ditto.
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/print.c b/runtime/print.c
index d262c9ed..2e3d539c 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -47,8 +47,10 @@ void _stp_print_flush (void)
ret =_stp_transport_write(buf, len + 1);
if (unlikely(ret < 0)) {
+#if 0
if (!atomic_read(&_stp_transport_failures))
_stp_warn("Transport failure - try using a larger buffer size\n");
+#endif
atomic_inc (&_stp_transport_failures);
}
@@ -90,8 +92,10 @@ void _stp_print_flush (void)
buf[TIMESTAMP_SIZE - 1] = ' ';
ret = _stp_transport_write(buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1);
if (unlikely(ret < 0)) {
+#if 0
if (!atomic_read(&_stp_transport_failures))
_stp_warn("Transport failure - try using a larger buffer size\n");
+#endif
atomic_inc (&_stp_transport_failures);
}