projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: lttngctl.py: allow the creation of per-pid buffers
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
cmd-2-4.cpp
diff --git
a/src/bin/lttng-relayd/cmd-2-4.cpp
b/src/bin/lttng-relayd/cmd-2-4.cpp
index 7abc371f06732056bf61435d8bf71750cdb3a774..f67c05b892d9b939889833765e22965c8619741a 100644
(file)
--- 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
#define _LGPL_SOURCE
-#include
<common/common.h>
-#include
<common/sessiond-comm/relayd.h>
+#include
"cmd-2-4.hpp"
+#include
"lttng-relayd.hpp"
-#include <common/compat/endian.h>
-#include <common/compat/string.h>
-#include <lttng/constant.h>
+#include <common/common.hpp>
+#include <common/compat/endian.hpp>
+#include <common/compat/string.hpp>
+#include <common/sessiond-comm/relayd.hpp>
-#include "cmd-2-4.h"
-#include "lttng-relayd.h"
+#include <lttng/constant.h>
int cmd_create_session_2_4(const struct lttng_buffer_view *payload,
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;
{
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",
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;
}
ret = -1;
goto error;
}
This page took
0.025141 seconds
and
4
git commands to generate.