From 86e0c24e4922a0be6dd1909b83400521ada5b713 Mon Sep 17 00:00:00 2001 From: JP Ikaheimonen Date: Thu, 7 Nov 2013 12:22:30 +0200 Subject: [PATCH] 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 --- 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 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) -- 2.34.1