Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Add pid context to UST events
@ 2012-06-01 12:22 Francis Giraldeau
  2012-06-01 15:53 ` Mathieu Desnoyers
  0 siblings, 1 reply; 5+ messages in thread
From: Francis Giraldeau @ 2012-06-01 12:22 UTC (permalink / raw)


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?

Thanks!

Francis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4476 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120601/2a171b87/attachment.bin>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [lttng-dev] Add pid context to UST events
  2012-06-01 12:22 [lttng-dev] Add pid context to UST events Francis Giraldeau
@ 2012-06-01 15:53 ` Mathieu Desnoyers
  2012-06-01 17:02   ` Bernd Hufmann
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Desnoyers @ 2012-06-01 15:53 UTC (permalink / raw)


* 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [lttng-dev] Add pid context to UST events
  2012-06-01 15:53 ` Mathieu Desnoyers
@ 2012-06-01 17:02   ` Bernd Hufmann
  2012-06-01 17:14     ` Mathieu Desnoyers
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd Hufmann @ 2012-06-01 17:02 UTC (permalink / raw)


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.

Thanks
Bernd


On Fri, Jun 1, 2012 at 11:53 AM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [lttng-dev] Add pid context to UST events
  2012-06-01 17:02   ` Bernd Hufmann
@ 2012-06-01 17:14     ` Mathieu Desnoyers
  2012-06-01 17:18       ` Bernd Hufmann
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Desnoyers @ 2012-06-01 17:14 UTC (permalink / raw)


* 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
> <mathieu.desnoyers at efficios.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [lttng-dev] Add pid context to UST events
  2012-06-01 17:14     ` Mathieu Desnoyers
@ 2012-06-01 17:18       ` Bernd Hufmann
  0 siblings, 0 replies; 5+ messages in thread
From: Bernd Hufmann @ 2012-06-01 17:18 UTC (permalink / raw)


Thanks

On Fri, Jun 1, 2012 at 1:14 PM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> 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
>> <mathieu.desnoyers at efficios.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-01 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-01 12:22 [lttng-dev] Add pid context to UST events Francis Giraldeau
2012-06-01 15:53 ` Mathieu Desnoyers
2012-06-01 17:02   ` Bernd Hufmann
2012-06-01 17:14     ` Mathieu Desnoyers
2012-06-01 17:18       ` Bernd Hufmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox