From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rocky Dunlap Subject: Re: Explicit setting of UUID with ctf writer Date: Fri, 7 Apr 2017 14:15:50 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3700002634517437230==" Return-path: Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) by lists.lttng.org (Postfix) with ESMTPS id 3w09ns22VjzkTk for ; Fri, 7 Apr 2017 20:16:17 +0000 (UTC) Received: by mail-ua0-x22f.google.com with SMTP id c28so1182546uaf.3 for ; Fri, 07 Apr 2017 13:15:52 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" To: Philippe Proulx Cc: lttng-dev@lists.lttng.org List-Id: lttng-dev@lists.lttng.org --===============3700002634517437230== Content-Type: multipart/alternative; boundary=f403045df056bf970e054c994abf --f403045df056bf970e054c994abf Content-Type: text/plain; charset=UTF-8 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" wrote: > On Fri, Apr 7, 2017 at 3:18 PM, Rocky Dunlap 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 > > > --f403045df056bf970e054c994abf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Phil,

This r= elates 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 s= tream, but then to pull all the stream files together into a single trace w= ith one metadata file. For this reason the uuids would need to match.
=

Do you think this will work?<= /div>

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 Babeltra= ce CTF
> writer?=C2=A0 I did not see a straightforward way to do it with the AP= I.

It's not possible as of Babeltrace 1. We'll add trace UUID accessor= s 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
>
--f403045df056bf970e054c994abf-- --===============3700002634517437230== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbHR0bmctZGV2 IG1haWxpbmcgbGlzdApsdHRuZy1kZXZAbGlzdHMubHR0bmcub3JnCmh0dHBzOi8vbGlzdHMubHR0 bmcub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9sdHRuZy1kZXYK --===============3700002634517437230==--