[lttng-dev] (no subject)

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Thu Jun 13 11:38:23 EDT 2019


> Can you please estimate when version 2 will be released ?

When it is ready. A lot of work was done on that side in the last 6 month, the
list of bugs and stuff to get done is shrinking everyday.

> Can you please provide sample code that uses Babeltrace to read metadata,
> channel ?

The source code for decoding the metadata TSDL is available here [1] if I'm not
mistaken. The header is only the tip of the iceberg.

[1] https://github.com/efficios/babeltrace/tree/stable-1.5/formats/ctf/metadata

I'm not sure if we expose the metadata information directly to the API.

See [2] for the API documentation of babeltrace 1.5

[2] http://git.efficios.com/?p=babeltrace.git;a=blob;f=doc/API.txt;h=e13e6adf3545d306e36c2496dd2feb50479d1eea

> > >
> > > I want to write a simple babeltrace for windows.
> >

I'm not convinced that rewriting an open source project is the right way to go
about that. Even more when there is already efforts being conducted for supporting

What is the end goal here? What are you trying to achieve?

Do you want a basic cli that can read traces and output text trace?
Do you want to build a tool around ctf and need a reader/writer lib?

Please provide context so that we can help you achieve your goal.

Jonathan Rajotte-Julien

More information about the lttng-dev mailing list