From: Mathieu Desnoyers Date: Wed, 28 Sep 2011 00:58:09 +0000 (-0400) Subject: Complete comm -> procname change X-Git-Tag: v2.0-pre9~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a2563e83f4c439343daf2f558c11ee6e83479177;p=lttng-modules.git Complete comm -> procname change Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index d4d1e3ea..37cccfa3 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -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; } diff --git a/ltt-debugfs-abi.h b/ltt-debugfs-abi.h index c20ae2da..42bc9fd2 100644 --- a/ltt-debugfs-abi.h +++ b/ltt-debugfs-abi.h @@ -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, diff --git a/ltt-events.h b/ltt-events.h index 3ffdcf46..36b281a7 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -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);