};
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;
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;
*/
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.
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);