lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Re: Trace Compass "Add contexts..." option displays XML file
       [not found] <SN4PR0601MB3614EE30FD26BCBF77558110916B0@SN4PR0601MB3614.namprd06.prod.outlook.com>
@ 2019-10-23 13:48 ` Jonathan Rajotte-Julien
       [not found] ` <20191023134848.GA7617@joraj-alpa>
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Rajotte-Julien @ 2019-10-23 13:48 UTC (permalink / raw)
  To: Kramer, Zach; +Cc: lttng-dev

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://github.com/lttng/lttng-tools/commit/59deec0c09b544d548711deaa6d8206efe99ea0d
[2] https://accounts.eclipse.org/mailing-list/tracecompass-dev

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://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [EXTERNAL] Re: Trace Compass "Add contexts..." option displays XML file
       [not found] ` <20191023134848.GA7617@joraj-alpa>
@ 2019-10-23 14:10   ` Kramer, Zach
  0 siblings, 0 replies; 3+ messages in thread
From: Kramer, Zach @ 2019-10-23 14:10 UTC (permalink / raw)
  To: Jonathan Rajotte-Julien; +Cc: lttng-dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Trace Compass "Add contexts..." option displays XML file
@ 2019-10-23 12:33 Kramer, Zach
  0 siblings, 0 replies; 3+ messages in thread
From: Kramer, Zach @ 2019-10-23 12:33 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

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

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


[-- Attachment #1.2: Type: text/html, Size: 7354 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-23 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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   ` [EXTERNAL] " Kramer, Zach
2019-10-23 12:33 Kramer, Zach

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).