Re: [lttng-dev] [PATCH lttng-tools] Fix: consumer-stream: use-after-free of metadata bucket

2022-03-02 Thread Vincent Whitchurch via lttng-dev
On Tue, Mar 01, 2022 at 06:19:23PM +0100, Jérémie Galarneau wrote: > Thanks a lot for reporting the problem. If I understand the ASAN > report correctly, the stream itself will also be double free'd, so > I don't think this is the complete fix. Yeah, it looked odd that consumer_stream_destroy() is

[lttng-dev] CTF2-SPECRC-4.0: Common Trace Format version 2 release candidate

2022-03-02 Thread Philippe Proulx via lttng-dev
Hello, This is an update of the CTF 2 specification release candidate from v3.0 to v4.0. This document, named CTF2-SPECRC-4.0, is available here: See the first section, "Revision history", to learn what changed. As always, please feel fre

[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