X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.h;h=67b5bb51142a46bf79765440acb7bc371b3d0f6f;hb=a3eae3c98f047a8e795a01471adf8f4f7563947b;hp=b19fe16a5349408a115b1ea65d28ba12b2d40228;hpb=fb83fe64f250bec7416f18891a8264450c61ead3;p=lttng-tools.git diff --git a/src/common/ust-consumer/ust-consumer.h b/src/common/ust-consumer/ust-consumer.h index b19fe16a5..67b5bb511 100644 --- a/src/common/ust-consumer/ust-consumer.h +++ b/src/common/ust-consumer/ust-consumer.h @@ -57,8 +57,8 @@ void lttng_ustconsumer_close_all_metadata(struct lttng_ht *ht); void lttng_ustconsumer_close_metadata(struct lttng_consumer_channel *metadata); void lttng_ustconsumer_close_stream_wakeup(struct lttng_consumer_stream *stream); int lttng_ustconsumer_recv_metadata(int sock, uint64_t key, uint64_t offset, - uint64_t len, struct lttng_consumer_channel *channel, - int timer, int wait); + uint64_t len, uint64_t version, + struct lttng_consumer_channel *channel, int timer, int wait); int lttng_ustconsumer_request_metadata(struct lttng_consumer_local_data *ctx, struct lttng_consumer_channel *channel, int timer, int wait); int lttng_ustconsumer_sync_metadata(struct lttng_consumer_local_data *ctx, @@ -185,8 +185,8 @@ void lttng_ustconsumer_close_stream_wakeup(struct lttng_consumer_stream *stream) } static inline int lttng_ustconsumer_recv_metadata(int sock, uint64_t key, uint64_t offset, - uint64_t len, struct lttng_consumer_channel *channel, - int timer) + uint64_t len, uint64_t version, + struct lttng_consumer_channel *channel, int timer) { return -ENOSYS; } @@ -213,6 +213,7 @@ int lttng_ustconsumer_get_current_timestamp( { return -ENOSYS; } +static inline int lttng_ustconsumer_get_sequence_number( struct lttng_consumer_stream *stream, uint64_t *seq) {