From a5930599a9975ea65fc5435d7c58cd059b867057 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 22 Nov 2012 14:41:13 -0500 Subject: [PATCH] filter: Add missing padding This will make future extensions to filter much easier. Signed-off-by: Mathieu Desnoyers --- include/lttng/ust-abi.h | 2 ++ 1 file changed, 2 insertions(+) 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]; }; -- 2.34.1