Fix: UST subbuffers silently dropped on moderate trace traffic
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index bff360edb18165a9f7f70cd48c1dc9892ffcaf93..24ba38757c235f5d0719374dd665c41c0e59cad5 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <lttng/ust-ctl.h>
 #include <poll.h>
@@ -1881,7 +1882,7 @@ static int notify_if_more_data(struct lttng_consumer_stream *stream,
                goto end;
        }
 
-       ret = ustctl_put_next_subbuf(ustream);
+       ret = ustctl_put_subbuf(ustream);
        assert(!ret);
 
        /* This stream still has data. Flag it and wake up the data thread. */
This page took 0.026748 seconds and 5 git commands to generate.