X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fgraph%2Fiterator.c;h=1303003f4963d7dbcc6f67963f89004590d2c0b8;hb=e874da19b9fd96ac87f70595e0463f8e03af29af;hp=e215203960867914cbe6616b99a46b09e202a0db;hpb=0ee90b745f28a543f7cc355591b36bddfe3a30e1;p=babeltrace.git diff --git a/src/lib/graph/iterator.c b/src/lib/graph/iterator.c index e2152039..1303003f 100644 --- a/src/lib/graph/iterator.c +++ b/src/lib/graph/iterator.c @@ -745,12 +745,19 @@ bt_port_output_message_iterator_create(struct bt_graph *graph, colander_data.msgs = (void *) iterator->base.msgs->pdata; colander_data.count_addr = &iterator->count; - /* Hope that nobody uses this very unique name */ + /* + * Hope that nobody uses this very unique name. + * + * We pass `BT_LOGGING_LEVEL_NONE` but the colander component + * class module does not use this level anyway since it belongs + * to the library. + */ graph_status = bt_graph_add_sink_component_with_init_method_data( (void *) graph, colander_comp_cls, "colander-36ac3409-b1a8-4d60-ab1f-4fdf341a8fb1", - NULL, &colander_data, (void *) &iterator->colander); + NULL, &colander_data, BT_LOGGING_LEVEL_NONE, + (void *) &iterator->colander); if (graph_status != BT_GRAPH_STATUS_OK) { BT_LIB_LOGW("Cannot add colander sink component to graph: " "%1[graph-]+g, status=%s", graph,