lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Trace Compass "Add contexts..." option displays XML file
@ 2019-10-23 12:33 Kramer, Zach
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

* 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
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 12:33 Trace Compass "Add contexts..." option displays XML file Kramer, Zach
     [not found] <SN4PR0601MB3614EE30FD26BCBF77558110916B0@SN4PR0601MB3614.namprd06.prod.outlook.com>
2019-10-23 13:48 ` Jonathan Rajotte-Julien

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