Add serialization of trigger, condition and action classes
[lttng-tools.git] / include / lttng / condition / buffer-usage-internal.h
index c3f473cc2d1ccda8b4b915788d3ce2ff75554f6d..b8cb50cccb8ee16d32cf188c9444fd79f08bc43a 100644 (file)
@@ -42,6 +42,21 @@ struct lttng_condition_buffer_usage {
        } domain;
 };
 
+struct lttng_condition_buffer_usage_comm {
+       uint8_t threshold_set_in_bytes;
+       union {
+               double percent;
+               uint64_t bytes;
+       } threshold;
+       /* Both lengths include the trailing \0. */
+       uint32_t session_name_len;
+       uint32_t channel_name_len;
+       /* enum lttng_domain_type */
+       int8_t domain_type;
+       /* session and channel names. */
+       char names[];
+} LTTNG_PACKED;
+
 struct lttng_evaluation_buffer_usage {
        struct lttng_evaluation parent;
        uint64_t buffer_use;
This page took 0.027019 seconds and 5 git commands to generate.