Propagate trace format to relayd on session creation
[deliverable/lttng-tools.git] / src / bin / lttng-relayd / cmd-2-15.hpp
1 /*
2 * Copyright (C) 2022 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef RELAYD_CMD_2_15_H
9 #define RELAYD_CMD_2_15_H
10
11 #include "lttng-relayd.hpp"
12 #include <common/buffer-view.hpp>
13 #include <common/uuid.hpp>
14 #include <lttng/trace-format-descriptor-internal.hpp>
15
16 int cmd_create_session_2_15(const struct lttng_buffer_view *payload,
17 char *session_name,
18 char *hostname,
19 char *base_path,
20 uint32_t *live_timer,
21 bool *snapshot,
22 uint64_t *id_sessiond,
23 lttng_uuid& sessiond_uuid,
24 bool *has_current_chunk,
25 uint64_t *current_chunk_id,
26 time_t *creation_time,
27 bool *session_name_contains_creation_time,
28 relayd_trace_format& trace_format);
29
30 #endif /* RELAYD_CMD_2_15_H */
This page took 0.033183 seconds and 5 git commands to generate.