Define a structure for event exclusion data
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index ed982486bac0a8f2bfdbf988020bd8930608a4fb..9a33479f3da604ad00dc5e277a1c26e36a0a321b 100644 (file)
@@ -292,6 +292,18 @@ struct lttng_filter_bytecode {
        char data[0];
 } LTTNG_PACKED;
 
+/*
+ * Event exclusion data. At the end of the structure, there will actually
+ * by zero or more names, where the actual number of names is given by
+ * the 'count' item of the structure.
+ */
+#define LTTNG_EVENT_EXCLUSION_PADDING  32
+struct lttng_event_exclusion {
+       uint32_t count;
+       char padding[LTTNG_EVENT_EXCLUSION_PADDING];
+       char names[LTTNG_SYMBOL_NAME_LEN][0];
+} LTTNG_PACKED;
+
 /*
  * Data structure for the response from sessiond to the lttng client.
  */
This page took 0.023407 seconds and 4 git commands to generate.