From: JP Ikaheimonen Date: Thu, 7 Nov 2013 10:22:30 +0000 (+0200) Subject: Define exclusion structure for UST ABI X-Git-Tag: v2.4.0-rc1~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=86e0c24e4922a0be6dd1909b83400521ada5b713;p=lttng-ust.git Define exclusion structure for UST ABI 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index ab70d574..0287466b 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)