Add ustctl_flush_buffer to the consumer API
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index 00937a44dd0172882e03c2ea21d361a1597449c8..775cb1766f62e4a356cf49ca739351c4cedc7dac 100644 (file)
@@ -2044,6 +2044,15 @@ void *lttng_ustctl_get_mmap_base(struct lttng_consumer_stream *stream)
        return ustctl_get_mmap_base(stream->ustream);
 }
 
+void lttng_ustctl_flush_buffer(struct lttng_consumer_stream *stream,
+               int producer_active)
+{
+       assert(stream);
+       assert(stream->ustream);
+
+       ustctl_flush_buffer(stream->ustream, producer_active);
+}
+
 /*
  * Take a snapshot for a specific stream.
  *
This page took 0.02494 seconds and 5 git commands to generate.