Fix: pass `inputs` parameter to implicit `src.ctf.lttng-live`, not `url`
[babeltrace.git] / src / plugins / ctf / lttng-live / metadata.c
index b31cd96adbabfcdd2d254ae7988eb58a8b28a9ab..db1dfd7d41025c076dac324fc107f09ff9e745c2 100644 (file)
@@ -27,7 +27,7 @@
 #define BT_COMP_LOG_SELF_COMP self_comp
 #define BT_LOG_OUTPUT_LEVEL log_level
 #define BT_LOG_TAG "PLUGIN/SRC.CTF.LTTNG-LIVE/META"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
 
 #include <stdio.h>
 #include <stdint.h>
@@ -283,7 +283,6 @@ int lttng_live_metadata_create_stream(struct lttng_live_session *session,
 {
        struct lttng_live_metadata *metadata = NULL;
        struct lttng_live_trace *trace;
-       const char *match;
        struct ctf_metadata_decoder_config cfg = {
                .log_level = session->log_level,
                .self_comp = session->self_comp,
@@ -299,11 +298,6 @@ int lttng_live_metadata_create_stream(struct lttng_live_session *session,
        metadata->self_comp = session->self_comp;
        metadata->stream_id = stream_id;
 
-       match = strstr(trace_name, session->session_name->str);
-       if (!match) {
-               goto error;
-       }
-
        metadata->decoder = ctf_metadata_decoder_create(&cfg);
        if (!metadata->decoder) {
                goto error;
This page took 0.024353 seconds and 4 git commands to generate.