X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.c;h=857f3594299ebe7f17ae90ecb703d73321484202;hb=1f916b5d086075c3f9ee911f994ac333c3b3383e;hp=e2d71a0d1351f848a1df2493b6554e737b303278;hpb=dcea4aea62ef7ed37a00314262d22b8dc7d447a8;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/cmd-2-11.c b/src/bin/lttng-relayd/cmd-2-11.c index e2d71a0d1..857f35942 100644 --- a/src/bin/lttng-relayd/cmd-2-11.c +++ b/src/bin/lttng-relayd/cmd-2-11.c @@ -31,7 +31,8 @@ int cmd_create_session_2_11(const struct lttng_buffer_view *payload, char *session_name, char *hostname, - uint32_t *live_timer, bool *snapshot) + uint32_t *live_timer, bool *snapshot, + lttng_uuid sessiond_uuid) { int ret; struct lttcomm_relayd_create_session_2_11 header; @@ -53,6 +54,8 @@ int cmd_create_session_2_11(const struct lttng_buffer_view *payload, header.hostname_len = be32toh(header.hostname_len); header.live_timer = be32toh(header.live_timer); + lttng_uuid_copy(sessiond_uuid, header.sessiond_uuid); + received_names_size = header.session_name_len + header.hostname_len; if (payload->size < header_len + received_names_size) { ERR("Unexpected payload size in \"cmd_create_session_2_11\": expected >= %zu bytes, got %zu bytes",