X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-4.cpp;h=f67c05b892d9b939889833765e22965c8619741a;hb=cd9adb8b829564212158943a0d279bb35322ab30;hp=7abc371f06732056bf61435d8bf71750cdb3a774;hpb=ac497a37018f3c253d2e50397294f58d33f7f24f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/cmd-2-4.cpp b/src/bin/lttng-relayd/cmd-2-4.cpp index 7abc371f0..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 +#include -#include "cmd-2-4.h" -#include "lttng-relayd.h" +#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; }