From mboxrd@z Thu Jan 1 00:00:00 1970 From: bhufmann@gmail.com (Bernd Hufmann) Date: Fri, 1 Jun 2012 13:18:14 -0400 Subject: [lttng-dev] Add pid context to UST events In-Reply-To: <20120601171409.GA14574@Krystal> References: <4FC8B404.2080403@gmail.com> <20120601155348.GA13775@Krystal> <20120601171409.GA14574@Krystal> Message-ID: Thanks On Fri, Jun 1, 2012 at 1:14 PM, Mathieu Desnoyers wrote: > * Bernd Hufmann (bhufmann at gmail.com) wrote: >> Hi Mathieu >> >> This is an important information. Is this documented? >> The Eclipse implementation of the Trace Control doesn't support that. >> It also uses "-t pid" for UST. >> Could you please list all the differences for contexts name for UST? >> Maybe I can squeeze in a fix >> before the Eclipse Juno release. > > Sure. The contexts supported by LTTng-UST 2.0 are: > > procname, pthread_id, vpid, vtid > > Thanks, > > Mathieu > >> >> Thanks >> Bernd >> >> >> On Fri, Jun 1, 2012 at 11:53 AM, Mathieu Desnoyers >> wrote: >> > * Francis Giraldeau (francis.giraldeau at gmail.com) wrote: >> >> Hi, >> >> >> >> I tried to add pid context to UST events to distinguish events from >> >> multiple processes. I do have this error: >> >> >> >> $ lttng create bidon >> >> Session bidon created. >> >> Traces will be written in /home/francis/lttng-traces/bidon-20120601-142031 >> >> >> >> $ lttng enable-event -a -u >> >> All UST events are enabled in channel channel0 >> >> >> >> $ lttng add-context -u -t pid >> >> Error: pid: UST invalid context >> >> Warning: Some command(s) went wrong >> >> >> >> Am I doing something wrong? >> > >> > lttng add-context -u -t vpid >> > >> > should do it. (notice the "v"). >> > >> > Eventually we should implement something that looks like a >> > >> > lttng list -u --context >> > >> > to list the per-domain contexts available. >> > >> > Thanks, >> > >> > Mathieu >> > >> >> >> >> Thanks! >> >> >> >> Francis >> >> >> > >> > >> > >> >> _______________________________________________ >> >> lttng-dev mailing list >> >> lttng-dev at lists.lttng.org >> >> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev >> > >> > >> > -- >> > Mathieu Desnoyers >> > Operating System Efficiency R&D Consultant >> > EfficiOS Inc. >> > http://www.efficios.com >> > >> > _______________________________________________ >> > lttng-dev mailing list >> > lttng-dev at lists.lttng.org >> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > > -- > Mathieu Desnoyers > Operating System Efficiency R&D Consultant > EfficiOS Inc. > http://www.efficios.com