[lttng-dev] [barectf] why YAML instead of CTF?
strager via lttng-dev <[email protected]>
| Newsgroups | org.lttng.lists.lttng-dev |
|---|---|
| Message-ID | <tFicevizpfz9CtNCCV6nl0_0SGJOSKJwbWV2s4XvDMWHogGJvJe4yrgcIndnifk0doSMNuVlONo0S5z_yrIWmh8TjxX2hs_RykJRZcOCIKQ=@strager.net> |
I have a CTF metadata file (schema) and hand-written parsers and writers for streams with that schema. I am interested in writing a tool which generates the parsers and writers (instead of hand-writing them). It looks like barectf is similar to the tool I want to build. However, barectf reads a custom file format for the schema instead of reading a CTF metadata file. Question: Why does barectf read a custom YAML format instead of reading CTF metadata? My plan was for my tool to read the schema from a CTF metadata file. Are there technical reasons why it's bad to make a code generator with CTF metadata as input? Because babeltrace2 can read CTF metadata files, I thought CTF metadata was machine-readable. Thanks, strager _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev