X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.c;h=fad85b50aa5c263fa108f0faae44fa9936e4ed20;hp=4904d2772b5181bb835d928595671b456b38f562;hb=7c612c2e69f7b4ebf77fd369126befb71e561a8f;hpb=a76cbd9f0350826e05c238b73425ff4e5825cc96 diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 4904d2772..fad85b50a 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -67,6 +67,7 @@ enum context_type { CONTEXT_VPPID = 9, CONTEXT_PTHREAD_ID = 10, CONTEXT_HOSTNAME = 11, + CONTEXT_IP = 12, }; /* @@ -203,6 +204,7 @@ const struct ctx_opts { { "ppid", CONTEXT_PPID }, { "vppid", CONTEXT_VPPID }, { "hostname", CONTEXT_HOSTNAME }, + { "ip", CONTEXT_IP }, /* Perf options */ PERF_HW(cpu-cycles, CPU_CYCLES), PERF_HW(cycles, CPU_CYCLES),