Fix the ABI numbers for exported enums
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jun 2011 20:07:36 +0000 (16:07 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jun 2011 20:07:36 +0000 (16:07 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-debugfs-abi.h

index e3a7160b9f423040fb9d6aa6f4918cdc9d7f30e5..9524cb03f6d7a5e83b2b0ae730db279a2cb0ed80 100644 (file)
@@ -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 {
This page took 0.027409 seconds and 4 git commands to generate.