Map session id of relayd and sessiond in consumer
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 011a1290a99097c6cb36c52c84209e57e25ac265..2cd1d5407ea06b09d9fbbf685e973e0a08e42b9d 100644 (file)
@@ -281,6 +281,8 @@ struct lttcomm_consumer_msg {
                        enum lttng_stream_type type;
                        /* Open socket to the relayd */
                        struct lttcomm_sock sock;
+                       /* Tracing session id associated to the relayd. */
+                       uint64_t session_id;
                } relayd_sock;
                struct {
                        uint64_t net_seq_idx;
@@ -291,6 +293,13 @@ struct lttcomm_consumer_msg {
        } u;
 };
 
+/*
+ * Status message returned to the sessiond after a received command.
+ */
+struct lttcomm_consumer_status_msg {
+       enum lttng_error_code ret_code;
+};
+
 #ifdef HAVE_LIBLTTNG_UST_CTL
 
 #include <lttng/ust-abi.h>
This page took 0.023084 seconds and 4 git commands to generate.