From: bhufmann@gmail.com (Bernd Hufmann)
Subject: [lttng-dev] Add pid context to UST events
Date: Fri, 1 Jun 2012 13:02:20 -0400 [thread overview]
Message-ID: <CAG5-hcPFfmseOkQMoryZhNRKQHj_Y6hUhCdBAdX7bZZXwyRNsg@mail.gmail.com> (raw)
In-Reply-To: <20120601155348.GA13775@Krystal>
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
next prev parent reply other threads:[~2012-06-01 17:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 12:22 Francis Giraldeau
2012-06-01 15:53 ` Mathieu Desnoyers
2012-06-01 17:02 ` Bernd Hufmann [this message]
2012-06-01 17:14 ` Mathieu Desnoyers
2012-06-01 17:18 ` Bernd Hufmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG5-hcPFfmseOkQMoryZhNRKQHj_Y6hUhCdBAdX7bZZXwyRNsg@mail.gmail.com \
--to=bhufmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox