projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove assertions of the existence of a trace chunk
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.c
diff --git
a/src/common/consumer/consumer.c
b/src/common/consumer/consumer.c
index 3896875f50e999076b2296829e19eab5f665ad5c..948a81d804428a01582b0466cb2e7433eb87dc4e 100644
(file)
--- a/
src/common/consumer/consumer.c
+++ b/
src/common/consumer/consumer.c
@@
-1726,7
+1726,8
@@
ssize_t lttng_consumer_on_read_subbuffer_mmap(
/* RCU lock for the relayd pointer */
rcu_read_lock();
/* 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) {
/* Flag that the current stream if set for network streaming. */
if (stream->net_seq_idx != (uint64_t) -1ULL) {
This page took
0.02481 seconds
and
4
git commands to generate.