Use trace->trace_id in check to remove trace from bt_ctx
[babeltrace.git] / formats / lttng-live / lttng-live.h
index 9739078a52e67278ca3b9d85962700e9a317cfc1..34c57edee6343bd15ee8e125699ad73a9ab96780 100644 (file)
@@ -88,6 +88,7 @@ struct lttng_live_ctf_trace {
        struct bt_list_head stream_list;
        FILE *metadata_fp;
        struct bt_trace_handle *handle;
+       /* Set to -1 when not initialized. */
        int trace_id;
        int in_use;
 };
This page took 0.024107 seconds and 4 git commands to generate.