abi: use 0, 1 for counter enumerations
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 11 Dec 2020 15:51:58 +0000 (10:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 11 Dec 2020 15:51:58 +0000 (10:51 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/abi.h

index 139fd0225bb26330f7a1a735f3e8d80a3d36d138..86c0a3cf493e73201c6e56737f317ecd344386fc 100644 (file)
@@ -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 {
This page took 0.025459 seconds and 5 git commands to generate.