[lttng-dev] Change of output format in lttng view?

Philippe Proulx eeppeliteloop at gmail.com
Tue Apr 21 16:04:44 EDT 2015


On Tue, Apr 21, 2015 at 12:26 PM, Glen Keane <glenkeane.94 at gmail.com> wrote:
>
> Hey guys,
>
> Would you please  consider changing the '=' char to a ':' char in the event data output of `lttng view`? it would make it more json-like.

This output format, called ctf-text, is a custom one, even though it
shares similarities with JSON.

The Babeltrace viewer is currently actively being redesigned to
ease the creation of input/output formats thanks to a plugin interface
with a clean API. ctf-text will be available as a plugin, unchanged,
but JSON and YAML output plugins are also on the roadmap, so
stay tuned!

Phil

>
> Currently when you `lttng view` something you get
>
> '[13:17:40.642101755] (+0.000213714) vagrant-ubuntu-trusty-64 node:gc_done: { cpu_id = 0 }, { gctype = "kGCTypeScavenge", gcflags = "kNoGCCallbackFlags" }',
>
> I think that
>
> '[13:17:40.642101755] (+0.000213714) vagrant-ubuntu-trusty-64 node:gc_done: { cpu_id : 0 }, { gctype : "kGCTypeScavenge", gcflags : "kNoGCCallbackFlags" }'
>
> would be better.
>
> Any thoughts? It seems to be very similar to json already. :)
>
> Glen.
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



More information about the lttng-dev mailing list