lib: plugin-so.c: ERROR and INFO level messages logged in callee
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 12 Jul 2019 21:27:29 +0000 (17:27 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 13 Jul 2019 14:44:19 +0000 (10:44 -0400)
Failing to load a plugin from a file is not an error as we often need to
try to load shared libraries to tell if they actually contain a
Babeltrace plugin.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Ic5b72e0f0c050b7e11896d264787d852139eaf56
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1701
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/lib/plugin/plugin-so.c

index c7b447c447a807ce33b2698dd2031b3a70d9352f..a11798cc1bbc4e5c63157d8381d4ef194de92aa6 100644 (file)
@@ -1489,8 +1489,6 @@ int bt_plugin_so_create_all_from_file(const char *path,
        if (status != BT_FUNC_STATUS_OK) {
                /* bt_plugin_so_shared_lib_handle_create() logs more details */
                BT_ASSERT(!shared_lib_handle);
-               BT_LIB_LOGE_APPEND_CAUSE(
-                       "Cannot create shared library handle.");
                goto end;
        }
 
This page took 0.025332 seconds and 4 git commands to generate.