X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-4.cpp;fp=src%2Fbin%2Flttng-relayd%2Fcmd-2-4.cpp;h=f67c05b892d9b939889833765e22965c8619741a;hp=7b546c7f661d5babd2161c0e51abb98d0f250036;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hpb=52e345b9ac912d033c2a2c25a170a01cf209839d diff --git a/src/bin/lttng-relayd/cmd-2-4.cpp b/src/bin/lttng-relayd/cmd-2-4.cpp index 7b546c7f6..f67c05b89 100644 --- a/src/bin/lttng-relayd/cmd-2-4.cpp +++ b/src/bin/lttng-relayd/cmd-2-4.cpp @@ -9,19 +9,21 @@ #define _LGPL_SOURCE -#include -#include +#include "cmd-2-4.hpp" +#include "lttng-relayd.hpp" +#include #include #include -#include +#include -#include "cmd-2-4.hpp" -#include "lttng-relayd.hpp" +#include int cmd_create_session_2_4(const struct lttng_buffer_view *payload, - char *session_name, char *hostname, - uint32_t *live_timer, bool *snapshot) + char *session_name, + char *hostname, + uint32_t *live_timer, + bool *snapshot) { int ret; struct lttcomm_relayd_create_session_2_4 session_info; @@ -29,7 +31,8 @@ int cmd_create_session_2_4(const struct lttng_buffer_view *payload, if (payload->size < sizeof(session_info)) { ERR("Unexpected payload size in \"cmd_create_session_2_4\": expected >= %zu bytes, got %zu bytes", - sizeof(session_info), payload->size); + sizeof(session_info), + payload->size); ret = -1; goto error; }