X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=8a780e7f835eb49abd721c027e4c6f1dc6df9a54;hp=a7d0ee1a706cc719f6877b168a6819f97f72b0ac;hb=15055ce5780557ef1053fcb4bd91a0746ffa30a0;hpb=5b8eb761b650749a164de120f014b0cb6c218cf2 diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index a7d0ee1a7..8a780e7f8 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -744,9 +744,12 @@ ssize_t lttng_consumer_on_read_subbuffer_splice( struct lttng_consumer_stream *stream, unsigned long len, unsigned long padding, struct ctf_packet_index *index); +int lttng_consumer_sample_snapshot_positions(struct lttng_consumer_stream *stream); int lttng_consumer_take_snapshot(struct lttng_consumer_stream *stream); int lttng_consumer_get_produced_snapshot(struct lttng_consumer_stream *stream, unsigned long *pos); +int lttng_consumer_get_consumed_snapshot(struct lttng_consumer_stream *stream, + unsigned long *pos); int lttng_ustconsumer_get_wakeup_fd(struct lttng_consumer_stream *stream); int lttng_ustconsumer_close_wakeup_fd(struct lttng_consumer_stream *stream); void *consumer_thread_metadata_poll(void *data);