Transfer filter strings from sessiond to client
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 675e54c2d6adffba777234885cc89ccf106d3cfb..c38ed37458c8899edea5ee4a0fe6b486c75a53df 100644 (file)
@@ -341,6 +341,26 @@ struct lttng_event_exclusion {
 #define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \
        (&(_exclusion)->names[_i][0])
 
+/*
+ * Event command header.
+ */
+struct lttcomm_event_command_header {
+       /* Number of events */
+       uint32_t nb_events;
+} LTTNG_PACKED;
+
+/*
+ * Event extended info header. This is the structure preceding each
+ * extended info data.
+ */
+struct lttcomm_event_extended_header {
+       /*
+        * Size of filter string immediately following this header.
+        * This size includes the terminal null character.
+        */
+       uint32_t filter_len;
+} LTTNG_PACKED;
+
 /*
  * Data structure for the response from sessiond to the lttng client.
  */
This page took 0.025477 seconds and 5 git commands to generate.