X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=f6e8b2b52d19071575bc5b539d8017ae34efa964;hb=c0c85e4f64e24c5cf6709cf5b8b54c6c0aa13d66;hp=16b9487cd3ed48b5b81c87256a8797b762231756;hpb=7775df526447e504735983ee359dcb902fa6dd1e;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 16b9487cd..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, @@ -801,8 +804,7 @@ 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, - const char *buffer, - unsigned long len, + const struct lttng_buffer_view *buffer, unsigned long padding, struct ctf_packet_index *index); ssize_t lttng_consumer_on_read_subbuffer_splice(