X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=f6e8b2b52d19071575bc5b539d8017ae34efa964;hb=c0c85e4f64e24c5cf6709cf5b8b54c6c0aa13d66;hp=74de91b519ceedaaa0fe9f59f0422776d3c94bee;hpb=c8eabe7350451f6fea8a831bee51a10725c71327;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 74de91b51..f6e8b2b52 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -36,6 +36,7 @@ #include #include #include +#include /* Commands for consumer */ enum lttng_consumer_command { @@ -748,7 +749,9 @@ void consumer_stream_update_channel_attributes( struct lttng_consumer_stream *stream, struct lttng_consumer_channel *channel); -struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key, +struct lttng_consumer_stream *consumer_allocate_stream( + struct lttng_consumer_channel *channel, + uint64_t channel_key, uint64_t stream_key, const char *channel_name, uint64_t relayd_id, @@ -800,7 +803,8 @@ struct lttng_consumer_local_data *lttng_consumer_create( void lttng_consumer_destroy(struct lttng_consumer_local_data *ctx); ssize_t lttng_consumer_on_read_subbuffer_mmap( struct lttng_consumer_local_data *ctx, - struct lttng_consumer_stream *stream, unsigned long len, + struct lttng_consumer_stream *stream, + const struct lttng_buffer_view *buffer, unsigned long padding, struct ctf_packet_index *index); ssize_t lttng_consumer_on_read_subbuffer_splice(