char output_path[];
} LTTNG_PACKED;
+enum relayd_trace_format {
+ RELAYD_TRACE_FORMAT_CTF_1 = 0,
+ RELAYD_TRACE_FORMAT_CTF_2 = 1,
+};
+
+typedef struct lttcomm_relayd_create_session_reply_2_11 lttcomm_relayd_create_session_reply_2_15;
+
+struct lttcomm_relayd_create_session_2_15 {
+ uint32_t session_name_len;
+ uint32_t hostname_len;
+ /* Optional, set to 0 to indicate it is not user-specified. */
+ uint32_t base_path_len;
+ uint32_t live_timer;
+ uint8_t snapshot;
+ uint8_t session_name_contains_creation_time;
+ /* Sessiond instance UUID */
+ uint8_t sessiond_uuid[LTTNG_UUID_LEN];
+ /* Sessiond session id */
+ uint64_t session_id;
+ /* Session creation time, in seconds since UNIX Epoch. */
+ uint64_t creation_time;
+ /* Trace format: enum relayd_trace_format */
+ uint8_t trace_format;
+ LTTNG_OPTIONAL_COMM(uint64_t) LTTNG_PACKED current_chunk_id;
+ /* Contains the session_name, hostname, base_path. */
+ char names[];
+} LTTNG_PACKED;
+
/*
* Used to ask the relay to reset the metadata trace file (regeneration).
* Send the new version of the metadata (starts at 0).