[lttng-dev] Trace Compass "Add contexts..." option displays XML file
Jonathan Rajotte-Julien
jonathan.rajotte-julien at efficios.com
Wed Oct 23 09:48:48 EDT 2019
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 at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Jonathan Rajotte-Julien
EfficiOS
More information about the lttng-dev
mailing list