[lttng-dev] Add pid context to UST events

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Jun 1 11:53:48 EDT 2012

* 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!
> 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.

More information about the lttng-dev mailing list