X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fconsumer%2Fconsumer-stream.h;h=1746c0fdd361d06d19d5b016421c4aad4aa5d1e7;hb=d6ef77b34f2ba071e280bc8c25936e95bf1094d9;hp=52df0c2558daa4e5bdecee60272ff9ff8454fa70;hpb=29d1a7ae5d5b46002e5883366a7b06f1d9dcc115;p=lttng-tools.git diff --git a/src/common/consumer/consumer-stream.h b/src/common/consumer/consumer-stream.h index 52df0c255..1746c0fdd 100644 --- a/src/common/consumer/consumer-stream.h +++ b/src/common/consumer/consumer-stream.h @@ -97,4 +97,13 @@ int consumer_stream_write_index(struct lttng_consumer_stream *stream, int consumer_stream_sync_metadata(struct lttng_consumer_local_data *ctx, uint64_t session_id); +/* + * Enable metadata bucketization. This must only be enabled if the tracer + * provides a reliable metadata `coherent` flag. + * + * This must be called on initialization before any subbuffer is consumed. + */ +int consumer_stream_enable_metadata_bucketization( + struct lttng_consumer_stream *stream); + #endif /* LTTNG_CONSUMER_STREAM_H */