Fix: tests: live: listen on python < 3.5 needs backlog parameter
[babeltrace.git] / src / plugins / lttng-utils / debug-info / trace-ir-mapping.h
index 9691785b378d4895156c084eb6b8febd5b493f05..26d9c96e6929a0e1caba3544ba10446f4d9311e4 100644 (file)
@@ -25,6 +25,7 @@
 #include <glib.h>
 
 #include "common/assert.h"
+#include "common/macros.h"
 #include <babeltrace2/babeltrace.h>
 
 #include "debug-info.h"
@@ -42,6 +43,8 @@ struct field_class_resolving_context {
 };
 
 struct trace_ir_metadata_maps {
+       bt_logging_level log_level;
+       bt_self_component *self_comp;
        const bt_trace_class *input_trace_class;
        bt_trace_class *output_trace_class;
 
@@ -80,10 +83,12 @@ struct trace_ir_metadata_maps {
 
        struct field_class_resolving_context *fc_resolving_ctx;
 
-       uint64_t destruction_listener_id;
+       bt_listener_id destruction_listener_id;
 };
 
 struct trace_ir_data_maps {
+       bt_logging_level log_level;
+       bt_self_component *self_comp;
        const bt_trace *input_trace;
        bt_trace *output_trace;
 
@@ -101,10 +106,12 @@ struct trace_ir_data_maps {
         */
        GHashTable *packet_map;
 
-       uint64_t destruction_listener_id;
+       bt_listener_id destruction_listener_id;
 };
 
 struct trace_ir_maps {
+       bt_logging_level log_level;
+
        /*
         * input trace -> trace_ir_data_maps.
         * input trace: weak reference. Owned by an upstream component.
@@ -126,7 +133,7 @@ struct trace_ir_maps {
 
 BT_HIDDEN
 struct trace_ir_maps *trace_ir_maps_create(bt_self_component *self_comp,
-               const char *debug_info_field_name);
+               const char *debug_info_field_name, bt_logging_level log_level);
 
 BT_HIDDEN
 void trace_ir_maps_clear(struct trace_ir_maps *maps);
This page took 0.023959 seconds and 4 git commands to generate.