filter: Add missing padding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Nov 2012 19:41:13 +0000 (14:41 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Nov 2012 19:41:13 +0000 (14:41 -0500)
This will make future extensions to filter much easier.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-abi.h

index 1ae1fa7dffa1e01cec7760296c0d37d75df30df3..1c6946f8715f4a92ad6d27746a2024ade822661f 100644 (file)
@@ -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];
 };
 
This page took 0.025683 seconds and 4 git commands to generate.