{
}
+static
+void init_ust_env(void)
+{
+ if (putenv("LTTNG_UST_LOADED=1"))
+ DBG("Error setting LTTNG_UST_LOADED environment variable");
+}
+
/*
* sessiond monitoring thread: monitor presence of global and per-user
* sessiond by polling the application common named pipe.
lttng_fixup_procname_tls();
lttng_fixup_ust_mutex_nest_tls();
+ init_ust_env();
+
/*
* We want precise control over the order in which we construct
* our sub-libraries vs starting to receive commands from