From 5f57042ed005e576934dac3d518ace913eca5ffe Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 11 Dec 2020 10:51:36 -0500 Subject: [PATCH] ust-abi: use 0, 1 for counter enumerations Signed-off-by: Mathieu Desnoyers --- include/lttng/ust-abi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index b1cd9b3d..10ee6d44 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -110,8 +110,8 @@ enum lttng_ust_counter_arithmetic { }; enum lttng_ust_counter_bitness { - LTTNG_UST_COUNTER_BITNESS_32 = 4, - LTTNG_UST_COUNTER_BITNESS_64 = 8, + LTTNG_UST_COUNTER_BITNESS_32 = 0, + LTTNG_UST_COUNTER_BITNESS_64 = 1, }; struct lttng_ust_counter_dimension { -- 2.34.1