From: Mathieu Desnoyers Date: Wed, 29 Jun 2011 20:07:36 +0000 (-0400) Subject: Fix the ABI numbers for exported enums X-Git-Tag: v2.0-pre1~28 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4c183524050e636238fa81599caad3a60b2955bf;p=lttng-modules.git Fix the ABI numbers for exported enums Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.h b/ltt-debugfs-abi.h index e3a7160b..9524cb03 100644 --- a/ltt-debugfs-abi.h +++ b/ltt-debugfs-abi.h @@ -16,9 +16,9 @@ #define LTTNG_SYM_NAME_LEN 128 enum lttng_kernel_instrumentation { - LTTNG_KERNEL_TRACEPOINT, - LTTNG_KERNEL_KPROBE, - LTTNG_KERNEL_FUNCTION, + LTTNG_KERNEL_TRACEPOINT = 0, + LTTNG_KERNEL_KPROBE = 1, + LTTNG_KERNEL_FUNCTION = 2, }; /* @@ -64,16 +64,16 @@ struct lttng_kernel_tracer_version { }; enum lttng_kernel_context_type { - LTTNG_KERNEL_CONTEXT_PID, - LTTNG_KERNEL_CONTEXT_PERF_COUNTER, - LTTNG_KERNEL_CONTEXT_COMM, - LTTNG_KERNEL_CONTEXT_PRIO, - LTTNG_KERNEL_CONTEXT_NICE, - LTTNG_KERNEL_CONTEXT_VPID, - LTTNG_KERNEL_CONTEXT_TID, - LTTNG_KERNEL_CONTEXT_VTID, - LTTNG_KERNEL_CONTEXT_PPID, - LTTNG_KERNEL_CONTEXT_VPPID, + LTTNG_KERNEL_CONTEXT_PID = 0, + LTTNG_KERNEL_CONTEXT_PERF_COUNTER = 1, + LTTNG_KERNEL_CONTEXT_COMM = 2, + LTTNG_KERNEL_CONTEXT_PRIO = 3, + LTTNG_KERNEL_CONTEXT_NICE = 4, + LTTNG_KERNEL_CONTEXT_VPID = 5, + LTTNG_KERNEL_CONTEXT_TID = 6, + LTTNG_KERNEL_CONTEXT_VTID = 7, + LTTNG_KERNEL_CONTEXT_PPID = 8, + LTTNG_KERNEL_CONTEXT_VPPID = 9, }; struct lttng_kernel_perf_counter_ctx {