Fix order of streams
[lttng-tools.git] / liblttng-consumer / lttng-consumer.c
index 5311860e01ac3d5c145991c194d3f3a32060d96f..2fcb39a27290ea2d1f9a060948df6252698deaf8 100644 (file)
@@ -181,6 +181,7 @@ struct lttng_consumer_stream *consumer_allocate_stream(
        case LTTNG_CONSUMER_KERNEL:
                break;
        case LTTNG_CONSUMER_UST:
+               stream->cpu = stream->chan->cpucount++;
                ret = lttng_ustconsumer_allocate_stream(stream);
                if (ret) {
                        free(stream);
This page took 0.022375 seconds and 4 git commands to generate.