Fix: remove assertions of the existence of a trace chunk
[lttng-tools.git] / src / common / consumer / consumer.c
index 3896875f50e999076b2296829e19eab5f665ad5c..948a81d804428a01582b0466cb2e7433eb87dc4e 100644 (file)
@@ -1726,7 +1726,8 @@ ssize_t lttng_consumer_on_read_subbuffer_mmap(
        /* RCU lock for the relayd pointer */
        rcu_read_lock();
 
-       assert(stream->chan->trace_chunk);
+       assert(stream->net_seq_idx != (uint64_t) -1ULL ||
+                       stream->chan->trace_chunk);
 
        /* Flag that the current stream if set for network streaming. */
        if (stream->net_seq_idx != (uint64_t) -1ULL) {
This page took 0.041007 seconds and 4 git commands to generate.