From: Mathieu Desnoyers Date: Tue, 22 Nov 2011 09:08:08 +0000 (+0100) Subject: Rename "comm" context into "procname" X-Git-Tag: v2.0-pre15~86 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=95da129739398dae8f922a0f2f53ddc419c7682d;p=lttng-tools.git Rename "comm" context into "procname" Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng/commands/add_context.c b/lttng/commands/add_context.c index 02220415d..44c4d4815 100644 --- a/lttng/commands/add_context.c +++ b/lttng/commands/add_context.c @@ -58,7 +58,7 @@ static struct lttng_handle *handle; enum context_type { CONTEXT_PID = 0, CONTEXT_PERF_COUNTER = 1, - CONTEXT_COMM = 2, + CONTEXT_PROCNAME = 2, CONTEXT_PRIO = 3, CONTEXT_NICE = 4, CONTEXT_VPID = 5, @@ -194,7 +194,7 @@ const struct ctx_opts { } u; } ctx_opts[] = { { "pid", CONTEXT_PID }, - { "comm", CONTEXT_COMM }, + { "procname", CONTEXT_PROCNAME }, { "prio", CONTEXT_PRIO }, { "nice", CONTEXT_NICE }, { "vpid", CONTEXT_VPID },