Fix: ustctl_get_stream_id without UST support
[lttng-tools.git] / src / common / consumer-timer.c
index c1a7fec251e78d2134255f853ea379bcd1a9087c..65c9fd3c285bb9803b3110663b0dd107c9ef0d04 100644 (file)
@@ -26,7 +26,6 @@
 #include <common/kernel-ctl/kernel-ctl.h>
 #include <common/kernel-consumer/kernel-consumer.h>
 #include <common/consumer-stream.h>
-#include <lttng/ust-ctl.h>
 
 #include "consumer-timer.h"
 #include "consumer-testpoint.h"
@@ -213,7 +212,7 @@ static int check_ust_stream(struct lttng_consumer_stream *stream)
                        ret = -1;
                        goto error_unlock;
                }
-               ret = ustctl_get_stream_id(stream->ustream, &stream_id);
+               ret = lttng_ustconsumer_get_stream_id(stream, &stream_id);
                if (ret < 0) {
                        PERROR("ustctl_get_stream_id");
                        goto error_unlock;
This page took 0.023945 seconds and 4 git commands to generate.