*
* Returns 0 on success, < 0 on error
*/
-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)
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);
/*
* Sample the rotate position of all the streams in this channel.
*/
- ret = lttng_consumer_rotate_channel(channel, key,
+ ret = lttng_consumer_rotate_sample_channel(channel, key,
msg.u.rotate_channel.pathname,
msg.u.rotate_channel.relayd_id,
msg.u.rotate_channel.metadata,
* Sample the rotate position of all the streams in
* this channel.
*/
- ret = lttng_consumer_rotate_channel(channel, key,
+ ret = lttng_consumer_rotate_sample_channel(channel, key,
msg.u.rotate_channel.pathname,
msg.u.rotate_channel.relayd_id,
msg.u.rotate_channel.metadata,