X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=17c3ee581bf2ff079439d375337031df2b557195;hp=72c580eb2e1be87894d98a4c40e83a09ce07b8a5;hb=a40a503f4218296700d791f1b79671bf3d0f1e22;hpb=d4ad24a314cea1020c7cd08b27670f5da495e38d diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 72c580eb2..17c3ee581 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -304,6 +304,11 @@ struct lttng_consumer_stream { */ bool quiescent; + /* + * True if the sequence number is not available (lttng-modules < 2.8). + */ + bool sequence_number_unavailable; + /* * metadata_timer_lock protects flags waiting_on_metadata and * missed_metadata_flush. @@ -438,12 +443,12 @@ struct lttng_consumer_stream { pthread_mutex_t metadata_rdv_lock; /* - * rotate_position represents the position in the ring-buffer that has to - * be flushed to disk to complete the ongoing rotation. When that position - * is reached, this tracefile can be closed and a new one is created in - * channel_read_only_attributes.path. + * rotate_position represents the packet sequence number of the last + * packet which belongs to the current trace chunk prior to the rotation. + * When that position is reached, this tracefile can be closed and a + * new one is created in channel_read_only_attributes.path. */ - unsigned long rotate_position; + uint64_t rotate_position; /* * Read-only copies of channel values. We cannot safely access the