X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-stream.h;h=c5fb09732d7a94f065480b01bedd4f683e0daf39;hp=3096e1e7801d535084bfb3fd7ef076d0d11237a9;hb=ea26306076d26c40ed31e4f9170dc2852bda502f;hpb=10a5031171c7bca5b4498c871b119e5a88b6a3fb diff --git a/src/common/consumer-stream.h b/src/common/consumer-stream.h index 3096e1e78..c5fb09732 100644 --- a/src/common/consumer-stream.h +++ b/src/common/consumer-stream.h @@ -68,4 +68,13 @@ void consumer_stream_destroy(struct lttng_consumer_stream *stream, */ void consumer_stream_destroy_buffers(struct lttng_consumer_stream *stream); +/* + * Write index of a specific stream either on the relayd or local disk. + */ +int consumer_stream_write_index(struct lttng_consumer_stream *stream, + struct ctf_packet_index *index); + +int consumer_stream_sync_metadata(struct lttng_consumer_local_data *ctx, + uint64_t session_id); + #endif /* LTTNG_CONSUMER_STREAM_H */