Cleanup: src.ctf.lttng-live: move function declarations around
[babeltrace.git] / src / plugins / ctf / lttng-live / data-stream.c
index 79f6c3fa97cd540cbebfd1f80323c23836ef38df..903cbf73d448da12f9d5959b14a0984e6c6a6cbf 100644 (file)
@@ -230,7 +230,7 @@ struct lttng_live_stream_iterator *lttng_live_stream_iterator_create(
 
        stream_iter->log_level = log_level;
        stream_iter->self_comp = self_comp;
-       trace = lttng_live_borrow_trace(session, ctf_trace_id);
+       trace = lttng_live_session_borrow_or_create_trace_by_id(session, ctf_trace_id);
        if (!trace) {
                BT_COMP_LOGE_APPEND_CAUSE(self_comp,
                        "Failed to borrow CTF trace.");
This page took 0.023009 seconds and 4 git commands to generate.