X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.c;h=857f3594299ebe7f17ae90ecb703d73321484202;hb=23c8ff5013f1e8c132cab7845ca608dbed4fca7f;hp=e2d71a0d1351f848a1df2493b6554e737b303278;hpb=9de831f8d2c7a9733bbfbedbebd802aa8a0de7d0;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",