Fix: consumerd: user space metadata not regenerated
[lttng-tools.git] / src / common / consumer / consumer-stream.h
index 1746c0fdd361d06d19d5b016421c4aad4aa5d1e7..506b166b0a8766413410c41bc249aba752e8aedd 100644 (file)
@@ -106,4 +106,14 @@ int consumer_stream_sync_metadata(struct lttng_consumer_local_data *ctx,
 int consumer_stream_enable_metadata_bucketization(
                struct lttng_consumer_stream *stream);
 
+/*
+ * Set the version of a metadata stream (i.e. following a metadata
+ * regeneration).
+ *
+ * Changing the version of a metadata stream will cause any bucketized metadata
+ * to be discarded and will mark the metadata stream for future `reset`.
+ */
+void consumer_stream_metadata_set_version(
+               struct lttng_consumer_stream *stream, uint64_t new_version);
+
 #endif /* LTTNG_CONSUMER_STREAM_H */
This page took 0.027288 seconds and 5 git commands to generate.