From 2af7b13b53e4b92d3e76b74e5f1a7e0c26e58e9c Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 26 Nov 2020 17:08:44 -0500 Subject: [PATCH] Bump LTTNG_KERNEL_EVENT_NOTIFIER_PADDING to 32 bytes Allows using 3 more 64-bit integers, and one extension pointer. Signed-off-by: Mathieu Desnoyers --- include/lttng/abi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lttng/abi.h b/include/lttng/abi.h index 843acbe7..37d63129 100644 --- a/include/lttng/abi.h +++ b/include/lttng/abi.h @@ -138,12 +138,12 @@ struct lttng_kernel_event { } u; } __attribute__((packed)); -#define LTTNG_KERNEL_EVENT_NOTIFIER_PADDING1 16 +#define LTTNG_KERNEL_EVENT_NOTIFIER_PADDING 32 struct lttng_kernel_event_notifier { struct lttng_kernel_event event; uint64_t error_counter_index; - char padding[LTTNG_KERNEL_EVENT_NOTIFIER_PADDING1]; + char padding[LTTNG_KERNEL_EVENT_NOTIFIER_PADDING]; } __attribute__((packed)); enum lttng_kernel_counter_arithmetic { -- 2.34.1