lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: "Kramer, Zach" <Zach.Kramer@cognex.com>
To: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: [EXTERNAL] Re: Trace Compass "Add contexts..." option displays XML file
Date: Wed, 23 Oct 2019 14:10:36 +0000	[thread overview]
Message-ID: <SN4PR0601MB3614F26A2B4E08F215D400CD916B0__3090.64054615504$1571839941$gmane$org@SN4PR0601MB3614.namprd06.prod.outlook.com> (raw)
In-Reply-To: <20191023134848.GA7617@joraj-alpa>

Hi,

Thanks for the answer. I forwarded this along to them.

(I also confirmed that this problem only exists in 2.11.0 -- 2.10.X is safe from it).

Thanks,
Zach

-----Original Message-----
From: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com> 
Sent: Wednesday, October 23, 2019 3:49 PM
To: Kramer, Zach <Zach.Kramer@cognex.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: [EXTERNAL] Re: [lttng-dev] Trace Compass "Add contexts..." option displays XML file

Hi,

On Wed, Oct 23, 2019 at 12:33:59PM +0000, Kramer, Zach wrote:
> Hi,
> 
> With 2.11.0, adding contexts no longer works for me in Trace Compass (5.1.0). This worked before in lttng-tools 2.9.11.
> 
> When I try to add contexts to my channel I get the following options:
> 
>   *   All Contexts
>      *   <?xml version=”1.0” encoding=”UTF-8”?>
>      *   <command xmlns=”….>  // Entire XML file

Actually the mi support for listing context was added in 2.11 [1]. This seems to be tracecompass expecting regular text output despite it is passing the "--mi xml"
options. Please repost this on the tracecompass mailing list [2].

[1] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flttng%2Flttng-tools%2Fcommit%2F59deec0c09b544d548711deaa6d8206efe99ea0d&amp;data=02%7C01%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc12007a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385404286&amp;sdata=g7DKrd6XWw9SbdHm%2Fwg3%2FsTtX4yZoh7YHvIZf%2Beg1Fw%3D&amp;reserved=0
[2] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccounts.eclipse.org%2Fmailing-list%2Ftracecompass-dev&amp;data=02%7C01%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc12007a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385414284&amp;sdata=wqBKE8BZS456JWvhFgIZCnF3C1lAmCknnAr0n8XYKUM%3D&amp;reserved=0

Cheers

> 
> Does anyone else experience this? Did the XML schema change in a way that requires Trace Compass to update its parsing?
> 
> lttng add-context –list works as expected.
> 
> Best,
> Zach
> 

> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.lttng.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Flttng-dev&amp;data=02%7C0
> 1%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc120
> 07a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385414284&amp;sdata=Wr
> ZWciI7M18O4yBrUWllsS7atzIFwaK%2F%2FkJqdvUTNbE%3D&amp;reserved=0


--
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

      parent reply	other threads:[~2019-10-23 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <SN4PR0601MB3614EE30FD26BCBF77558110916B0@SN4PR0601MB3614.namprd06.prod.outlook.com>
2019-10-23 13:48 ` Trace Compass "Add contexts..." option displays XML file Jonathan Rajotte-Julien
     [not found] ` <20191023134848.GA7617@joraj-alpa>
2019-10-23 14:10   ` Kramer, Zach [this message]

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='SN4PR0601MB3614F26A2B4E08F215D400CD916B0__3090.64054615504$1571839941$gmane$org@SN4PR0601MB3614.namprd06.prod.outlook.com' \
    --to=zach.kramer@cognex.com \
    --cc=jonathan.rajotte-julien@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    /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;
as well as URLs for NNTP newsgroup(s).