Define a structure for event exclusion data
authorJP Ikaheimonen <jp_ikaheimonen@mentor.com>
Mon, 4 Nov 2013 12:22:25 +0000 (14:22 +0200)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 14 Nov 2013 18:40:57 +0000 (13:40 -0500)
Define a structure that holds the event exclusion data. The last
data item is a flexible array that contains a variable number
of exclusion names.

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.026429 seconds and 4 git commands to generate.