* [lttng-dev] Change of output format in lttng view?
@ 2015-04-21 16:26 Glen Keane
2015-04-21 20:04 ` Philippe Proulx
0 siblings, 1 reply; 2+ messages in thread
From: Glen Keane @ 2015-04-21 16:26 UTC (permalink / raw)
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150421/0f9da4f7/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] Change of output format in lttng view?
2015-04-21 16:26 [lttng-dev] Change of output format in lttng view? Glen Keane
@ 2015-04-21 20:04 ` Philippe Proulx
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Proulx @ 2015-04-21 20:04 UTC (permalink / raw)
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-21 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21 16:26 [lttng-dev] Change of output format in lttng view? Glen Keane
2015-04-21 20:04 ` Philippe Proulx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox