From mboxrd@z Thu Jan 1 00:00:00 1970 From: eeppeliteloop@gmail.com (Philippe Proulx) Date: Tue, 21 Apr 2015 16:04:44 -0400 Subject: [lttng-dev] Change of output format in lttng view? In-Reply-To: References: Message-ID: On Tue, Apr 21, 2015 at 12:26 PM, Glen Keane 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 >