Required for handling of short-lived applications.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ /*
+ * Add channel(s) and event(s) to newly registered apps
+ * from lttng global UST domain.
+ */
+ update_ust_app(ust_cmd.sock);
+
ret = ustctl_register_done(ust_cmd.sock);
if (ret < 0) {
/*
ret = ustctl_register_done(ust_cmd.sock);
if (ret < 0) {
/*
- /*
- * Add channel(s) and event(s) to newly registered apps
- * from lttng global UST domain.
- */
- update_ust_app(ust_cmd.sock);