#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>
{
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,
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;