Complete comm -> procname change
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 28 Sep 2011 00:58:09 +0000 (20:58 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 28 Sep 2011 00:58:09 +0000 (20:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-debugfs-abi.c
ltt-debugfs-abi.h
ltt-events.h

index d4d1e3ea6457f104e650e77868b811ae07139a7a..37cccfa35f472f0b43b9aff9693f959dc8680f8a 100644 (file)
@@ -182,8 +182,8 @@ long lttng_abi_add_context(struct file *file,
                                context_param.u.perf_counter.config,
                                context_param.u.perf_counter.name,
                                ctx);
-       case LTTNG_KERNEL_CONTEXT_COMM:
-               return lttng_add_comm_to_ctx(ctx);
+       case LTTNG_KERNEL_CONTEXT_PROCNAME:
+               return lttng_add_procname_to_ctx(ctx);
        default:
                return -EINVAL;
        }
index c20ae2da1a152f2069e6171c7b120baefdc7d1a5..42bc9fd26e5b9f5d8df27180c45dac5426edb97b 100644 (file)
@@ -97,7 +97,7 @@ struct lttng_kernel_calibrate {
 enum lttng_kernel_context_type {
        LTTNG_KERNEL_CONTEXT_PID                = 0,
        LTTNG_KERNEL_CONTEXT_PERF_COUNTER       = 1,
-       LTTNG_KERNEL_CONTEXT_COMM               = 2,
+       LTTNG_KERNEL_CONTEXT_PROCNAME           = 2,
        LTTNG_KERNEL_CONTEXT_PRIO               = 3,
        LTTNG_KERNEL_CONTEXT_NICE               = 4,
        LTTNG_KERNEL_CONTEXT_VPID               = 5,
index 3ffdcf46045840037d81f1fd42aa7188c213a4e9..36b281a72f38f03f14dd20afec587aeb1bfaf251 100644 (file)
@@ -329,7 +329,7 @@ void lttng_remove_context_field(struct lttng_ctx **ctx,
                                struct lttng_ctx_field *field);
 void lttng_destroy_context(struct lttng_ctx *ctx);
 int lttng_add_pid_to_ctx(struct lttng_ctx **ctx);
-int lttng_add_comm_to_ctx(struct lttng_ctx **ctx);
+int lttng_add_procname_to_ctx(struct lttng_ctx **ctx);
 int lttng_add_prio_to_ctx(struct lttng_ctx **ctx);
 int lttng_add_nice_to_ctx(struct lttng_ctx **ctx);
 int lttng_add_vpid_to_ctx(struct lttng_ctx **ctx);
This page took 0.029465 seconds and 4 git commands to generate.