[lttng-dev] Parsing in-memory CTF packets with babeltrace2

2022-03-02 Thread Jon Lamb via lttng-dev
Hi, I'm working on an program that is to receive CTF stream packets and convert the contained events to a different format. After reading through the babeltrace2 C API docs, I'm not sure if it's possible to access the internal AST and parser utilities used by the internal plugins, either man

[lttng-dev] [barectf] Is it possible to include a packet sequence count?

2022-03-03 Thread Jon Lamb via lttng-dev
Hi, Looking through the docs under packet features, it doesn't look like including a packet_seq_num is supported. If I didn't overlook the docs, is this a feature that would be considered given that it's called out in the spec? It'd be really handy to have this in the CTF packet rather than having