Define exclusion structure for UST ABI
authorJP Ikaheimonen <jp_ikaheimonen@mentor.com>
Thu, 7 Nov 2013 10:22:30 +0000 (12:22 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Nov 2013 20:16:31 +0000 (15:16 -0500)
Define a structure for holding exception data. The last data item
is a flexible array that contains a variable number of
exclusions names.

Signed-off-by: JP Ikaheimonen <jp_ikaheimonen@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-abi.h

index ab70d574f87c79f3bfe7c585f668b0befab64d70..0287466b5746a4aa7a673ff8f2e3180334158f8b 100644 (file)
@@ -228,6 +228,13 @@ struct lttng_ust_filter_bytecode {
        char data[0];
 } LTTNG_PACKED;
 
+#define LTTNG_UST_EXCLUSION_PADDING    32
+struct lttng_ust_event_exclusion {
+       uint32_t count;
+       char padding[LTTNG_UST_EXCLUSION_PADDING];
+       char names[LTTNG_UST_SYM_NAME_LEN][0];
+} LTTNG_PACKED;
+
 #define _UST_CMD(minor)                                (minor)
 #define _UST_CMDR(minor, type)                 (minor)
 #define _UST_CMDW(minor, type)                 (minor)
This page took 0.033591 seconds and 4 git commands to generate.