[lttng-dev] Explicit setting of UUID with ctf writer

Rocky Dunlap rsdunlapiv at gmail.com
Fri Apr 7 20:15:50 UTC 2017


This relates to my previous question about multi-process tracing. The
workaround I am attempting is to have each process write its own trace with
a single stream, but then to pull all the stream files together into a
single trace with one metadata file. For this reason the uuids would need
to match.

Do you think this will work?


On Apr 7, 2017 1:57 PM, "Philippe Proulx" <eeppeliteloop at gmail.com> wrote:

> On Fri, Apr 7, 2017 at 3:18 PM, Rocky Dunlap <rsdunlapiv at gmail.com> wrote:
> > Is it possible to explicitly set a uuid for a trace using the Babeltrace
> > writer?  I did not see a straightforward way to do it with the API.
> It's not possible as of Babeltrace 1. We'll add trace UUID accessors to
> the upcoming Babeltrace 2 API.
> That said, may I ask you why you need this? Two different CTF traces
> should not share the same UUID.
> Phil
> >
> > Rocky
> >
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20170407/097fcf8f/attachment.html>

More information about the lttng-dev mailing list