<div dir="ltr">Hello!<div><br></div><div>It looks like there are some issues with the Python CTF writer example with babeltrace stable-1.5. <div><br></div><div>* Import error, should replace "import babeltrace.writer as btw" by "from babeltrace import CTFWriter as btw"</div><div>* The FloatingPointDeclaration does not exists and should be replaced by FloatFieldDeclaration</div><div>* babeltrace.common.CTFStringEncoding.UTF8 is instead babeltrace.CTFStringEncoding.UTF8</div><div>* The variant still had issue that I cannot fix (ValueError("Invalid tag provided.") babeltrace.py:2221)</div><div><br></div><div>Events with simple fields are working okay with these changes. I thought that the clock would be updated automatically when appending the event, but that would be nice also to add it to the example.</div><div><br></div><div>I tried babeltrace 2.0.0-pre6, but the writer API seems to have disappeared. I was looking at how to create a ctf.fs.sink, but I was not successful. Is writing CTF traces with the Python bindings still possible?</div><div><div><br></div><div>Regards,</div><div><br></div><div>-- <br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Francis</div></div></div></div></div>