X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=2bd45f2e1de9c0457c1e2b6fd41224b12b2dc91b;hb=b770aa7ff007d18a53a3293a396880ad7ce42c8e;hp=16b9487cd3ed48b5b81c87256a8797b762231756;hpb=7775df526447e504735983ee359dcb902fa6dd1e;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 16b9487cd..2bd45f2e1 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 { @@ -801,8 +802,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(