[lttng-dev] RFC LTTng session and daemon configuration save and restore
Woegerer, Paul
Paul_Woegerer at mentor.com
Thu Dec 5 02:49:39 EST 2013
Hi Jérémie,
On 12/04/2013 10:33 PM, Jérémie Galarneau wrote:
> Session Configuration File Format
This is great news. Providing the ability to specify the specifics of a
session as data will benefit command line users as well as IDEs (talking
to lttng).
> ...
> ...
> XML seems like a better option than JSON since it makes it possible to have
> robust file validation using a pre-defined schema. The use of version-specific
> schemas could also be beneficial for backward compatibility as the format
> moves forward. Finally, character encoding handling is already a solved
> problem for most XML libraries.
Just in case you don't know, there is also schema validation for JSON:
http://json-schema.org/
Available in multiple implementations (Java, C, Javascript, ...):
http://json-schema.org/implementations.html
--
Thanks,
Paul
More information about the lttng-dev
mailing list