Add channel discarded events and lost packets stats accessors
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index c38ed37458c8899edea5ee4a0fe6b486c75a53df..d436094ff36d0c6a71671d380b34c13e1c106c56 100644 (file)
@@ -359,6 +359,22 @@ struct lttcomm_event_extended_header {
         * This size includes the terminal null character.
         */
        uint32_t filter_len;
+
+       /*
+        * Number of exclusion names, immediately following the filter
+        * string. Each exclusion name has a fixed length of
+        * LTTNG_SYMBOL_NAME_LEN bytes, including the terminal null
+        * character.
+        */
+       uint32_t nb_exclusions;
+} LTTNG_PACKED;
+
+/*
+ * Channel extended info.
+ */
+struct lttcomm_channel_extended {
+       uint64_t discarded_events;
+       uint64_t lost_packets;
 } LTTNG_PACKED;
 
 /*
This page took 0.024483 seconds and 4 git commands to generate.