[lttng-dev] [EXTERNAL] Re: Trace Compass "Add contexts..." option displays XML file
Kramer, Zach
Zach.Kramer at cognex.com
Wed Oct 23 10:10:36 EDT 2019
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 at efficios.com>
Sent: Wednesday, October 23, 2019 3:49 PM
To: Kramer, Zach <Zach.Kramer at cognex.com>
Cc: lttng-dev <lttng-dev at 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&data=02%7C01%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc12007a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385404286&sdata=g7DKrd6XWw9SbdHm%2Fwg3%2FsTtX4yZoh7YHvIZf%2Beg1Fw%3D&reserved=0
[2] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccounts.eclipse.org%2Fmailing-list%2Ftracecompass-dev&data=02%7C01%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc12007a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385414284&sdata=wqBKE8BZS456JWvhFgIZCnF3C1lAmCknnAr0n8XYKUM%3D&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 at lists.lttng.org
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.lttng.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Flttng-dev&data=02%7C0
> 1%7CZach.Kramer%40cognex.com%7Cd751419f4a664c501be908d757bfbf66%7Cc120
> 07a4882b4381b05ab783431570c7%7C1%7C0%7C637074353385414284&sdata=Wr
> ZWciI7M18O4yBrUWllsS7atzIFwaK%2F%2FkJqdvUTNbE%3D&reserved=0
--
Jonathan Rajotte-Julien
EfficiOS
More information about the lttng-dev
mailing list