Extract the lost packets and discarded events counters
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.h
index 339c52747428ef1ed6eeb54dfb4a40d244d39fce..b19fe16a5349408a115b1ea65d28ba12b2d40228 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <errno.h>
 
-#include <common/consumer.h>
+#include <common/consumer/consumer.h>
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
 
@@ -67,6 +67,8 @@ void lttng_ustconsumer_flush_buffer(struct lttng_consumer_stream *stream,
                int producer);
 int lttng_ustconsumer_get_current_timestamp(
                struct lttng_consumer_stream *stream, uint64_t *ts);
+int lttng_ustconsumer_get_sequence_number(
+               struct lttng_consumer_stream *stream, uint64_t *seq);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
@@ -211,6 +213,11 @@ int lttng_ustconsumer_get_current_timestamp(
 {
        return -ENOSYS;
 }
+int lttng_ustconsumer_get_sequence_number(
+               struct lttng_consumer_stream *stream, uint64_t *seq)
+{
+       return -ENOSYS;
+}
 static inline
 int lttng_ustconsumer_get_stream_id(struct lttng_consumer_stream *stream,
                uint64_t *stream_id)
This page took 0.023436 seconds and 4 git commands to generate.