From a2563e83f4c439343daf2f558c11ee6e83479177 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 27 Sep 2011 20:58:09 -0400 Subject: [PATCH] Complete comm -> procname change Signed-off-by: Mathieu Desnoyers --- ltt-debugfs-abi.c | 4 ++-- ltt-debugfs-abi.h | 2 +- ltt-events.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.34.1