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 <[email protected]> --- include/lttng/ust-abi.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index ab70d57..0287466 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -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) -- 1.8.1.2 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
