Propagate trace format to relayd on session creation
[lttng-tools.git] / src / bin / lttng-relayd / cmd-2-15.hpp
diff --git a/src/bin/lttng-relayd/cmd-2-15.hpp b/src/bin/lttng-relayd/cmd-2-15.hpp
new file mode 100644 (file)
index 0000000..2c3353e
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2022 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
+#ifndef RELAYD_CMD_2_15_H
+#define RELAYD_CMD_2_15_H
+
+#include "lttng-relayd.hpp"
+#include <common/buffer-view.hpp>
+#include <common/uuid.hpp>
+#include <lttng/trace-format-descriptor-internal.hpp>
+
+int cmd_create_session_2_15(const struct lttng_buffer_view *payload,
+               char *session_name,
+               char *hostname,
+               char *base_path,
+               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,
+               bool *session_name_contains_creation_time,
+               relayd_trace_format& trace_format);
+
+#endif /* RELAYD_CMD_2_15_H */
This page took 0.025026 seconds and 5 git commands to generate.