X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Fadd_context.c;h=44c4d48155714e9a33c96784f18a71b359cd88a7;hp=02220415d88d5c17e186dfef123be903115b6c93;hb=95da129739398dae8f922a0f2f53ddc419c7682d;hpb=c3919711a7c1c4d723a7fbe68331432dfc767ea0 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 },