X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=converter%2Fbabeltrace.c;h=9a5af9fb01efa436dc1f0604de83df2f1a0e886a;hb=5a3ee633fdd379e8acf7535f0ba91fb05234a36a;hp=0407fb2d22ca03ff6b60b1cb97641bec7049aaf3;hpb=90b5d437749a8a5404d3cb92422e2d8114dad2f3;p=babeltrace.git diff --git a/converter/babeltrace.c b/converter/babeltrace.c index 0407fb2d..9a5af9fb 100644 --- a/converter/babeltrace.c +++ b/converter/babeltrace.c @@ -400,7 +400,7 @@ int connect_source_sink(struct bt_component *source, struct bt_notification_iterator *source_it = NULL; struct bt_notification_iterator *to_sink_it = NULL; - source_it = bt_component_source_create_iterator(source); + source_it = bt_component_source_create_notification_iterator(source); if (!source_it) { fprintf(stderr, "Failed to instantiate source iterator. Aborting...\n"); ret = -1; @@ -428,7 +428,7 @@ int connect_source_sink(struct bt_component *source, goto end; } - to_sink_it = bt_component_filter_create_iterator(trimmer); + to_sink_it = bt_component_filter_create_notification_iterator(trimmer); if (!to_sink_it) { fprintf(stderr, "Failed to instantiate trimmer iterator. Aborting...\n"); ret = -1; @@ -497,7 +497,7 @@ int load_dynamic_plugins(struct bt_config *cfg) continue; } - plugins = bt_plugin_create_all_from_dir(plugin_path, true); + plugins = bt_plugin_create_all_from_dir(plugin_path, false); if (!plugins) { printf_debug("Unable to dynamically load plugins from path %s.\n", plugin_path);