Update kernel context ABI
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 May 2011 01:28:34 +0000 (21:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 May 2011 01:28:34 +0000 (21:28 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-debugfs-abi.c
ltt-debugfs-abi.h

index d8164ffc360abac632f4c2ad9372e60fc204e085..730826674cda7a82ccce3da3d9a4779eb078f6d2 100644 (file)
@@ -150,9 +150,9 @@ long lttng_abi_add_context(struct file *file,
                return -EFAULT;
 
        switch (context_param.ctx) {
-       case LTTNG_CONTEXT_PID:
+       case LTTNG_KERNEL_CONTEXT_PID:
                return lttng_add_pid_to_ctx(ctx);
-       case LTTNG_CONTEXT_PERF_COUNTER:
+       case LTTNG_KERNEL_CONTEXT_PERF_COUNTER:
                return -ENOSYS;
        default:
                return -EINVAL;
index a0299967d0d50d6c310dad5bac5bb5f83c5a2a46..ddc50ba5b9643ee20026de3aaaf57770627bad87 100644 (file)
@@ -65,9 +65,9 @@ struct lttng_kernel_tracer_version {
        uint32_t sublevel;
 };
 
-enum lttng_context {
-       LTTNG_CONTEXT_PID,
-       LTTNG_CONTEXT_PERF_COUNTER,
+enum lttng_kernel_context_type {
+       LTTNG_KERNEL_CONTEXT_PID,
+       LTTNG_KERNEL_CONTEXT_PERF_COUNTER,
 };
 
 struct lttng_kernel_pid_ctx {
@@ -79,7 +79,7 @@ struct lttng_kernel_perf_counter_ctx {
 };
 
 struct lttng_kernel_context {
-       enum lttng_context ctx;
+       enum lttng_kernel_context_type ctx;
        union {
                struct lttng_kernel_pid_ctx pid;
                struct lttng_kernel_perf_counter_ctx perf_counter;
This page took 0.027305 seconds and 4 git commands to generate.