void consumer_add_metadata_stream(struct lttng_consumer_stream *stream);
void consumer_del_stream_for_metadata(struct lttng_consumer_stream *stream);
int consumer_create_index_file(struct lttng_consumer_stream *stream);
-int lttng_consumer_rotate_channel(struct lttng_consumer_channel *channel,
+int lttng_consumer_rotate_sample_channel(struct lttng_consumer_channel *channel,
uint64_t key, const char *path, uint64_t relayd_id,
uint32_t metadata, uint64_t new_chunk_id,
struct lttng_consumer_local_data *ctx);