X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=190de54ed79f0c91e0e7abe6f5d9f864ed9795fc;hb=e098433c90550d74288498f8c4474ef4c2daea68;hp=acdc4b839701c324e0d7887798fcd37ff7ec4890;hpb=3e25d926e1c03011c68430e3a358d1e9a10ca9ab;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index acdc4b839..190de54ed 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -416,6 +416,11 @@ struct lttng_consumer_stream { uint64_t last_discarded_events; /* Copy of the sequence number of the last packet extracted. */ uint64_t last_sequence_number; + /* + * Session's current trace archive id at the time of the creation of + * this stream. + */ + uint64_t trace_archive_id; /* * Index file object of the index file for this stream. */ @@ -728,7 +733,8 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key, int cpu, int *alloc_ret, enum consumer_channel_type type, - unsigned int monitor); + unsigned int monitor, + uint64_t trace_archive_id); struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key, uint64_t session_id, const char *pathname,