Malformed Tracefiles

Georg Muck via lttng-dev <[email protected]> Thu, 19 Jun 2025 16:58:59 +0200
Newsgroups org.lttng.lists.lttng-dev
Message-ID <CAEobtPOhc8K3c-Qcymm1m-pRpHSZyDSarAKoGKeiKqZfUqXOCQ@mail.gmail.com>
--0000000000004209220637edfd39
Content-Type: text/plain; charset="UTF-8"

Hey,

I am using the LTTng tracer (2.13.11, C-API, rotation=1s) to trace my ROS2
system (userspace only). Everything works just fine within my Docker
Container (Ubuntu 24.04), but if I start the same procedure on the host
itself (also Ubuntu 24.04), it does not create a TraceFile if to many
tracepoints occur (speaking of roundabout 1500+ per second) (sometimes it
malformed the tracefile, but I was not able to recreate that. If I remember
correctly, Babeltrace2 threw an error that said that there was no
metadata-file). I played around with some configurations (like increasing
the buffer size from ~16kB to ~512kB or a less aggressive rotation), but
the problem stayed.

Would be thankful for help. I guess I delivered to less information, please
reach out what is interesting at this point, I am not sure about that :).

Best regards,
Georg



Never burn the bridges before you
If you've burned the bridges behind
Never burn the one that you're walking upon
Or you're sure to hit the water in time. *(Savatage, Streets, 1991)*

--0000000000004209220637edfd39
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hey,<br><br>I am using the LTTng tracer (2.13.11, C-A=
PI, rotation=3D1s) to trace my ROS2 system (userspace only). Everything wor=
ks just fine within my Docker Container (Ubuntu 24.04), but if I start the =
same procedure on the host itself (also Ubuntu 24.04), it does not create a=
 TraceFile if to many tracepoints occur (speaking of roundabout 1500+ per s=
econd) (sometimes it malformed the tracefile, but I was not able to recreat=
e that. If I remember correctly, Babeltrace2 threw an error that said that =
there was no metadata-file). I played around with some configurations (like=
 increasing the buffer size from ~16kB to ~512kB or a less aggressive rotat=
ion), but the problem stayed.<br><br>Would be thankful=C2=A0for help. I gue=
ss I delivered to less information, please reach out what is interesting at=
 this point, I am not sure about that :).<br><br>Best regards,<br>Georg<br>=
<br><br><br clear=3D"all"></div><div><div dir=3D"ltr" class=3D"gmail_signat=
ure" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><span style=3D"col=
or:rgb(80,0,80)">Never burn the bridges before you</span><br style=3D"color=
:rgb(80,0,80)"><span style=3D"color:rgb(80,0,80)">If you&#39;ve burned the =
bridges behind</span><br style=3D"color:rgb(80,0,80)"><span style=3D"color:=
rgb(80,0,80)">Never burn the one that you&#39;re walking upon</span><br sty=
le=3D"color:rgb(80,0,80)"><span style=3D"color:rgb(80,0,80)">Or you&#39;re =
sure to hit the water in time. <i>(Savatage, Streets, 1991)</i></span><br><=
/div></div></div></div>

--0000000000004209220637edfd39--