Phil,

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?

Rocky

On Apr 7, 2017 1:57 PM, "Philippe Proulx" <eeppeliteloop@gmail.com> wrote:
On Fri, Apr 7, 2017 at 3:18 PM, Rocky Dunlap <rsdunlapiv@gmail.com> wrote:
> Is it possible to explicitly set a uuid for a trace using the Babeltrace CTF
> 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@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>