[lttng-dev] C API message iterator example for libbabeltrace2

Maksim Khmelevskiy mk.void.mail at gmail.com
Fri Aug 12 09:19:04 EDT 2022


Hi,

there is a nice py message iterator example
<https://babeltrace.org/docs/v2.0/python/bt2/examples.html> but for C API
only plugins are covered with examples,
do you think it would make sense to create an example of a standalone
application which simply uses `source.ctf.fs` as source and iterates over
all messages? It would be nice hint for those who want to see an example of
graph creation with all the code in one file.
I'm interested in that example because I want to transform CTF file into
list of C structures representing messages.

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20220812/00abe978/attachment.htm>


More information about the lttng-dev mailing list