From: Julien Desfossez Date: Tue, 21 Aug 2012 18:05:46 +0000 (-0400) Subject: live VPID and VTID X-Git-Tag: v0.3~101 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc3eb0c3f241c6b372ee2c15d53bf4cb47d0c9aa;p=lttngtop.git live VPID and VTID Signed-off-by: Julien Desfossez --- diff --git a/src/lttngtop.c b/src/lttngtop.c index d282011..571b0f8 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",