[lttng-dev] Need help in converting trace data into CTF
Jonathan Rajotte-Julien
jonathan.rajotte-julien at efficios.com
Mon Jun 17 12:51:54 EDT 2019
Hi,
> I am trying to write a metadata file. I am following https://diamon.org/ctf/.
> I found one metadata file on GitHub repository
> https://github.com/efficios/epiphany-examples/tree/barectf-tracing/apps/barectf-tracing/ctf
>
> Which file format is used for the metadata files?
Babeltrace understand text based metadata file as long as it conforms to the TSDL
grammar.
See:
https://diamon.org/ctf/#spec7
https://diamon.org/ctf/#spec7.4
https://diamon.org/ctf/#specC
For an example of metadata generator, you can look at Barectf[1] or
lttng-tools[2]
[1] https://github.com/efficios/barectf/blob/a3ebf5855c025a86ebc2d62cbda1338461e84c5a/barectf/tsdl182gen.py
[2] https://github.com/lttng/lttng-tools/blob/c8e0c5f5d94fb574f4e5d7518f0f8e6f984dfe3d/src/bin/lttng-sessiond/ust-metadata.c
--
Jonathan Rajotte-Julien
EfficiOS
More information about the lttng-dev
mailing list