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