X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-stream.h;h=79efa721e80388a934343254e56a8ac3a602dd8b;hp=3096e1e7801d535084bfb3fd7ef076d0d11237a9;hb=94d4914075c61cd1ee2ec00d8b61eacff105fc47;hpb=10a5031171c7bca5b4498c871b119e5a88b6a3fb diff --git a/src/common/consumer-stream.h b/src/common/consumer-stream.h index 3096e1e78..79efa721e 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 lttng_packet_index *index); + +int consumer_stream_sync_metadata(struct lttng_consumer_local_data *ctx, + uint64_t session_id); + #endif /* LTTNG_CONSUMER_STREAM_H */