+ counter->self_comp =
+ bt_self_component_sink_as_self_component(component);
+ counter->log_level = bt_component_get_logging_level(
+ bt_self_component_as_component(counter->self_comp));
+ add_port_status = bt_self_component_sink_add_input_port(component,