+
+ /*
+ * Both the logging and getenv lazy-initialization uses getenv()
+ * internally and thus needs to be explicitly initialized in
+ * liblttng-ust before we start any threads as an unsuspecting normally
+ * single threaded application using liblttng-ust could be using
+ * setenv() which is not thread-safe.
+ */
+ lttng_ust_logging_init();
+ lttng_ust_getenv_init();
+
+ /* Call the liblttng-ust-common constructor. */
+ lttng_ust_common_ctor();
+