From mboxrd@z Thu Jan 1 00:00:00 1970 From: jp_ikaheimonen@mentor.com (JP Ikaheimonen) Date: Thu, 7 Nov 2013 12:22:30 +0200 Subject: [lttng-dev] [PATCH lttng-ust 2/7] Define exclusion structure for UST ABI In-Reply-To: <1383819755-6891-1-git-send-email-jp_ikaheimonen@mentor.com> References: <1383819755-6891-1-git-send-email-jp_ikaheimonen@mentor.com> Message-ID: <1383819755-6891-3-git-send-email-jp_ikaheimonen@mentor.com> 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 --- 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