lib: rename `lib-logging.h` to `logging.h`
[babeltrace.git] / src / lib / plugin / plugin-so.c
index b7acd815ae6dfb1286e97f8a93378e696e1b0b5f..13cf322084e2e0376b9bc76eff76be4c2373c0fd 100644 (file)
@@ -23,8 +23,8 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "PLUGIN-SO"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/PLUGIN-SO"
+#include "lib/logging.h"
 
 #include "common/assert.h"
 #include "lib/assert-pre.h"
@@ -138,7 +138,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
        }
 
        if (shared_lib_handle->module) {
-#ifndef NDEBUG
+#ifndef BT_DEBUG_MODE
                /*
                 * Valgrind shows incomplete stack traces when
                 * dynamically loaded libraries are closed before it
@@ -157,7 +157,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
                        }
 
                        shared_lib_handle->module = NULL;
-#ifndef NDEBUG
+#ifndef BT_DEBUG_MODE
                } else {
                        BT_LOGI("Not closing GModule because `BABELTRACE_NO_DLCLOSE=1`: "
                                "path=\"%s\"", path);
This page took 0.024437 seconds and 4 git commands to generate.