From: Mathieu Desnoyers Date: Thu, 22 Nov 2012 19:41:13 +0000 (-0500) Subject: filter: Add missing padding X-Git-Tag: v2.1.0~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a5930599a9975ea65fc5435d7c58cd059b867057;p=lttng-ust.git filter: Add missing padding This will make future extensions to filter much easier. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 1ae1fa7d..1c6946f8 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -173,10 +173,12 @@ struct lttng_ust_calibrate { }; #define FILTER_BYTECODE_MAX_LEN 65536 +#define LTTNG_UST_FILTER_PADDING 32 struct lttng_ust_filter_bytecode { uint32_t len; uint32_t reloc_offset; uint64_t seqnum; + char padding[LTTNG_UST_FILTER_PADDING]; char data[0]; };