Add support for auto session creation
[lttng-tools.git] / ltt-sessiond / session.c
index 6e19b372e4c2edeb4b60c5b32dc906cbaa41b8a9..93f03e4c5ef11386d7fc5fdf36288993d246b078 100644 (file)
@@ -237,7 +237,7 @@ void get_lttng_session(struct lttng_session *lt)
         */
        cds_list_for_each_entry(iter, &ltt_session_list.head, list) {
                /* Copy name and uuid */
-               uuid_unparse(iter->uuid, lsess.uuid);
+               uuid_copy(lsess.uuid, iter->uuid);
                strncpy(lsess.name, iter->name, sizeof(lsess.name));
                lsess.name[sizeof(lsess.name) - 1] = '\0';
                memcpy(&lt[i], &lsess, sizeof(lsess));
This page took 0.024315 seconds and 5 git commands to generate.