X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.c;h=0da8d2834dafe4c697c4d05024165fb0aa9da431;hp=c513130ab6fa40709a95151c885a9479cac80d87;hb=46ef21888c975515837d5dab104c938c424792ed;hpb=2a1668643ca94195d5c3889d0337e19165805a42 diff --git a/src/bin/lttng-relayd/cmd-2-11.c b/src/bin/lttng-relayd/cmd-2-11.c index c513130ab..0da8d2834 100644 --- a/src/bin/lttng-relayd/cmd-2-11.c +++ b/src/bin/lttng-relayd/cmd-2-11.c @@ -34,7 +34,8 @@ int cmd_create_session_2_11(const struct lttng_buffer_view *payload, uint32_t *live_timer, bool *snapshot, uint64_t *id_sessiond, lttng_uuid sessiond_uuid, bool *has_current_chunk, uint64_t *current_chunk_id, - time_t *creation_time) + time_t *creation_time, + bool *session_name_contains_creation_time) { int ret; struct lttcomm_relayd_create_session_2_11 header; @@ -132,6 +133,8 @@ int cmd_create_session_2_11(const struct lttng_buffer_view *payload, *current_chunk_id = header.current_chunk_id.value; *has_current_chunk = header.current_chunk_id.is_set; *creation_time = (time_t) header.creation_time; + *session_name_contains_creation_time = + header.session_name_contains_creation_time; ret = 0;