live VPID and VTID
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 21 Aug 2012 18:05:46 +0000 (14:05 -0400)
committerJulien Desfossez <jdesfossez@efficios.com>
Tue, 21 Aug 2012 18:05:46 +0000 (14:05 -0400)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttngtop.c

index 186228ed3882a2544f76cbb728e7f85ec0050903..2d849390ec95bd29e16ddd4df25063e71362087a 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.02433 seconds and 4 git commands to generate.