Fix: skip uid registry when metadata key is 0
[lttng-tools.git] / src / bin / lttng-sessiond / load-session-thread.c
index 868d7c55279b25e2455f626408cdf9118ffbdfd4..a6c393c9f994a912230d46f5c7f926ee84d040f6 100644 (file)
@@ -15,9 +15,9 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/error.h>
-#include <common/config/config.h>
+#include <common/config/session-config.h>
 
 #include "load-session-thread.h"
 #include "lttng-sessiond.h"
@@ -97,12 +97,12 @@ void *thread_load_session(void *data)
        }
 
        /* Override existing session and autoload also. */
-       ret = config_load_session(info->path, NULL, 1, 1);
+       ret = config_load_session(info->path, NULL, 1, 1, NULL);
        if (ret) {
                ERR("Session load failed: %s", error_get_str(ret));
        }
 
 end:
-       sessiond_notify_ready();
+       sessiond_signal_parents();
        return NULL;
 }
This page took 0.023546 seconds and 4 git commands to generate.