live VPID and VTID
[lttngtop.git] / src / lttngtop.c
index d282011b65dbbf50445cca3bb18ea1398c1e8a19..571b0f88aff04c23859d40a5bd7c650070a74d0b 100644 (file)
@@ -946,6 +946,10 @@ int setup_live_tracing()
        lttng_add_context(handle, &kctxcomm, NULL, NULL);
        kctxtid.ctx = LTTNG_EVENT_CONTEXT_TID;
        lttng_add_context(handle, &kctxtid, NULL, NULL);
+       kctxpid.ctx = LTTNG_EVENT_CONTEXT_VPID;
+       lttng_add_context(handle, &kctxpid, NULL, NULL);
+       kctxtid.ctx = LTTNG_EVENT_CONTEXT_VTID;
+       lttng_add_context(handle, &kctxtid, NULL, NULL);
 
        if ((ret = lttng_start_tracing("test")) < 0) {
                fprintf(stderr,"error starting tracing : %s\n",
This page took 0.029467 seconds and 4 git commands to generate.