Fix: missing hostname context
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index b580d037b9924dfbbea909c9561ab7587ed4b3f1..aec2d4df70d8ef991f3d54fdfa1fd4d315ffc019 100644 (file)
@@ -67,6 +67,7 @@ enum context_type {
        CONTEXT_PPID         = 8,
        CONTEXT_VPPID        = 9,
        CONTEXT_PTHREAD_ID   = 10,
+       CONTEXT_HOSTNAME     = 11,
 };
 
 /*
@@ -203,6 +204,7 @@ const struct ctx_opts {
        { "vtid", CONTEXT_VTID },
        { "ppid", CONTEXT_PPID },
        { "vppid", CONTEXT_VPPID },
+       { "hostname", CONTEXT_HOSTNAME },
        /* Perf options */
        PERF_HW(cpu-cycles, CPU_CYCLES),
        PERF_HW(cycles, CPU_CYCLES),
This page took 0.022641 seconds and 4 git commands to generate.