From 8545187afc7f0845b98df04f7bd2629f0b894456 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 11 Dec 2020 10:51:58 -0500 Subject: [PATCH] abi: use 0, 1 for counter enumerations Signed-off-by: Mathieu Desnoyers --- include/lttng/abi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lttng/abi.h b/include/lttng/abi.h index 139fd022..86c0a3cf 100644 --- a/include/lttng/abi.h +++ b/include/lttng/abi.h @@ -147,12 +147,12 @@ struct lttng_kernel_event_notifier { } __attribute__((packed)); enum lttng_kernel_counter_arithmetic { - LTTNG_KERNEL_COUNTER_ARITHMETIC_MODULAR = 1, + LTTNG_KERNEL_COUNTER_ARITHMETIC_MODULAR = 0, }; enum lttng_kernel_counter_bitness { - LTTNG_KERNEL_COUNTER_BITNESS_32 = 1, - LTTNG_KERNEL_COUNTER_BITNESS_64 = 2, + LTTNG_KERNEL_COUNTER_BITNESS_32 = 0, + LTTNG_KERNEL_COUNTER_BITNESS_64 = 1, }; struct lttng_kernel_counter_dimension { -- 2.34.1