Fix data pending for inflight streaming
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 011a1290a99097c6cb36c52c84209e57e25ac265..3842558e5a4b99bd524d50bdec37937e64aa7f0b 100644 (file)
@@ -91,6 +91,8 @@ enum lttcomm_sessiond_command {
        LTTNG_ENABLE_EVENT_WITH_FILTER      = 32,
        LTTNG_HEALTH_CHECK                  = 33,
        LTTNG_DATA_PENDING                  = 34,
+       RELAYD_BEGIN_DATA_PENDING           = 35,
+       RELAYD_END_DATA_PENDING             = 36,
 };
 
 /*
@@ -281,6 +283,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 +295,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.023108 seconds and 4 git commands to generate.