X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-stream.h;h=c5fb09732d7a94f065480b01bedd4f683e0daf39;hp=3036b2c77e6512fd61b4128e131b21e9d24fabd3;hb=ea26306076d26c40ed31e4f9170dc2852bda502f;hpb=51230d709a394904ee9c449c26d645e737c4af94 diff --git a/src/common/consumer-stream.h b/src/common/consumer-stream.h index 3036b2c77..c5fb09732 100644 --- a/src/common/consumer-stream.h +++ b/src/common/consumer-stream.h @@ -62,4 +62,19 @@ void consumer_stream_free(struct lttng_consumer_stream *stream); void consumer_stream_destroy(struct lttng_consumer_stream *stream, struct lttng_ht *ht); +/* + * Destroy the stream's buffers on the tracer side. This is also called in a + * stream destroy. + */ +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 */