relayd: do not prioritize control events over data.
[lttng-tools.git] / src / bin / lttng-relayd / connection.h
index d0edf82146ba4de10826443c4c4e46d0fd9e1799..d189e1549672d8016ab80adfa9bb25f4537390d3 100644 (file)
@@ -138,6 +138,11 @@ struct relay_connection {
                        struct lttng_dynamic_buffer reception_buffer;
                } ctrl;
        } protocol;
+       /*
+        * The activity phase for which the connection was last active.
+        * This is used to ensure fairness across connections.
+        */
+       uint64_t activity_phase;
 };
 
 struct relay_connection *connection_create(struct lttcomm_sock *sock,
This page took 0.025777 seconds and 5 git commands to generate.