From: Julien Desfossez Date: Tue, 21 Aug 2012 18:05:46 +0000 (-0400) Subject: live VPID and VTID X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8f5f173ce6f218da472dfe3600ccd509a52f5d23;p=lttngtop.git live VPID and VTID Signed-off-by: Julien Desfossez --- diff --git a/src/lttngtop.c b/src/lttngtop.c index 186228e..2d84939 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -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",