summaryrefslogtreecommitdiffstats
path: root/runtime/print_new.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-02-25 09:04:19 -0600
committerDavid Smith <dsmith@redhat.com>2009-02-25 09:04:19 -0600
commit64c962fed5f50a7f82f8b570e000cdcff757862b (patch)
tree9f60ad3c67c7719f9448f3355e600eefa27c009c /runtime/print_new.c
parent23c1c6557af76d506a28bcb3e864d3500e6dc565 (diff)
downloadsystemtap-steved-64c962fed5f50a7f82f8b570e000cdcff757862b.tar.gz
systemtap-steved-64c962fed5f50a7f82f8b570e000cdcff757862b.tar.xz
systemtap-steved-64c962fed5f50a7f82f8b570e000cdcff757862b.zip
More cleanup.
2009-02-25 David Smith <dsmith@redhat.com> * debug.h: Removed unused variable '_stp_transport_state'. * print_new.c (stp_print_flush): Ifdef'ed out call to utt_reserve(). * runtime.h: Added _stp_warn() prototype. * transport/control.c: Includes control.h, mempool.c, and symbols.c. Renamed '_stp_attached' to '_stp_ctl_attached'. * transport/control.h: Removed _stp_pool_q declaration. * transport/debugfs.c (_stp_register_ctl_channel_fs): Uses _stp_get_module_dir(). * transport/transport.c: Cleanup. * transport/transport.h: Ditto.
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r--runtime/print_new.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index 43e37822..bebaa19c 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -57,7 +57,11 @@ void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb)
void *buf;
unsigned long flags;
spin_lock_irqsave(&_stp_print_lock, flags);
+#if 0
buf = utt_reserve(_stp_utt, len);
+#else
+ buf = NULL;
+#endif
if (likely(buf))
memcpy(buf, pb->buf, len);
else