/*
* Valgrind shows incomplete stack traces when
* dynamically loaded libraries are closed before it
- * finishes. Use the BABELTRACE_NO_DLCLOSE in a debug
+ * finishes. Use the LIBBABELTRACE2_NO_DLCLOSE in a debug
* build to avoid this.
*/
- const char *var = getenv("BABELTRACE_NO_DLCLOSE");
+ const char *var = getenv("LIBBABELTRACE2_NO_DLCLOSE");
if (!var || strcmp(var, "1") != 0) {
#endif
shared_lib_handle->module = NULL;
#ifndef BT_DEBUG_MODE
} else {
- BT_LOGI("Not closing GModule because `BABELTRACE_NO_DLCLOSE=1`: "
+ BT_LOGI("Not closing GModule because `LIBBABELTRACE2_NO_DLCLOSE=1`: "
"path=\"%s\"", path);
}
#endif