#define BT_COMP_LOG_SELF_COMP (ir_maps->self_comp)
#define BT_LOG_OUTPUT_LEVEL (ir_maps->log_level)
#define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO/TRACE-IR-MAPPING"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
#include <stdbool.h>
BT_COMP_LOGE_STR("Error creating output stream");
goto end;
}
- /*
- * Release our ref since the trace object will be managing the life
- * time of the stream objects.
- */
copy_stream_content(in_stream, out_stream, ir_maps->log_level,
ir_maps->self_comp);
goto end;
}
- /*
- * Release our ref since the stream object will be managing the life
- * time of the packet objects.
- */
copy_packet_content(in_packet, out_packet, ir_maps->log_level,
ir_maps->self_comp);
g_hash_table_destroy(maps->clock_class_map);
}
- if (maps->fc_resolving_ctx) {
- g_free(maps->fc_resolving_ctx);
- }
+ g_free(maps->fc_resolving_ctx);
if (maps->output_trace_class) {
bt_trace_class_put_ref(maps->output_trace_class);
return;
}
- if (maps->debug_info_field_class_name) {
- g_free(maps->debug_info_field_class_name);
- }
+ g_free(maps->debug_info_field_class_name);
if (maps->data_maps) {
g_hash_table_destroy(maps->data_maps);