From: Mathieu Desnoyers Date: Fri, 11 Dec 2020 15:51:58 +0000 (-0500) Subject: abi: use 0, 1 for counter enumerations X-Git-Tag: v2.13.0-rc1~66 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8545187afc7f0845b98df04f7bd2629f0b894456;p=lttng-modules.git abi: use 0, 1 for counter enumerations Signed-off-by: Mathieu Desnoyers --- 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 {