Fix: ustctl_get_stream_id without UST support
[lttng-tools.git] / src / common / consumer-timer.c
index d36e2bccfdd08cb304d2d362403325db85c4c3af..1408052431aac3613db4e912c505320dd497e1ba 100644 (file)
@@ -27,7 +27,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"
@@ -214,7 +213,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.023301 seconds and 4 git commands to generate.