X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Fctf%2Flttng-live%2Flttng-live-internal.h;h=a698e6bef699aa3217a7436593e4758dad931e15;hp=edad6474e6f0d41dfb5e2352e07f026cc4dba19d;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/plugins/ctf/lttng-live/lttng-live-internal.h b/plugins/ctf/lttng-live/lttng-live-internal.h index edad6474..a698e6be 100644 --- a/plugins/ctf/lttng-live/lttng-live-internal.h +++ b/plugins/ctf/lttng-live/lttng-live-internal.h @@ -69,7 +69,7 @@ struct lttng_live_stream_iterator_generic { struct lttng_live_stream_iterator { struct lttng_live_stream_iterator_generic p; - struct bt_stream *stream; + const struct bt_stream *stream; struct lttng_live_trace *trace; struct bt_private_port *port; /* weak ref. */ @@ -138,7 +138,7 @@ struct lttng_live_trace { uint64_t id; /* ctf trace ID within the session. */ - struct bt_trace *trace; + const struct bt_trace *trace; struct lttng_live_metadata *metadata; struct bt_clock_class_priority_map *cc_prio_map;