summaryrefslogtreecommitdiffstats
path: root/runtime/print_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r--runtime/print_new.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index 2d5a6e10..52017426 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -30,9 +30,8 @@ void EXPORT_FN(stp_print_flush)(_stp_pbuf *pb)
pb->len = 0;
-//DRS FIXME: this digs down too deep in internals
-// if (unlikely(!_stp_utt || _stp_utt->trace_state != Utt_trace_running))
-// return;
+ if (unlikely(_stp_transport_get_state() != STP_TRANSPORT_RUNNING))
+ return;
#ifdef STP_BULKMODE
#ifdef NO_PERCPU_HEADERS