X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-stream.h;h=956bb6328692215984f5081102f48ae5f6b3de27;hp=3096e1e7801d535084bfb3fd7ef076d0d11237a9;hb=1c20f0e29cbf8627bfb1ff444572d52d6655c4e2;hpb=3c4599b9a5c12ceff19368c6cd51e01d81824726 diff --git a/src/common/consumer-stream.h b/src/common/consumer-stream.h index 3096e1e78..956bb6328 100644 --- a/src/common/consumer-stream.h +++ b/src/common/consumer-stream.h @@ -68,4 +68,10 @@ 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); + #endif /* LTTNG_CONSUMER_STREAM_H */