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>
Sat, 19 Oct 2013 16:02:38 +0000 (12:02 -0400)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
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.030483 seconds and 4 git commands to generate.