Extract the lost packets and discarded events counters
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 575fbf0194f7474662053717c29a0fcef1b2339d..a60fc4506a9c63b42cc36300a79e08b125e69802 100644 (file)
@@ -369,6 +369,14 @@ struct lttcomm_event_extended_header {
        uint32_t nb_exclusions;
 } LTTNG_PACKED;
 
+/*
+ * Channel extended info.
+ */
+struct lttcomm_channel_extended {
+       uint64_t discarded_events;
+       uint64_t lost_packets;
+} LTTNG_PACKED;
+
 /*
  * Data structure for the response from sessiond to the lttng client.
  */
@@ -501,6 +509,14 @@ struct lttcomm_consumer_msg {
                        uint64_t channel_key;
                        uint64_t net_seq_idx;
                } LTTNG_PACKED sent_streams;
+               struct {
+                       uint64_t session_id;
+                       uint64_t channel_key;
+               } LTTNG_PACKED discarded_events;
+               struct {
+                       uint64_t session_id;
+                       uint64_t channel_key;
+               } LTTNG_PACKED lost_packets;
        } u;
 } LTTNG_PACKED;
 
This page took 0.024038 seconds and 5 git commands to generate.