* 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"
}
if (shared_lib_handle->module) {
-#ifndef NDEBUG
+#ifndef BT_DEBUG_MODE
/*
* Valgrind shows incomplete stack traces when
* dynamically loaded libraries are closed before it
}
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);