Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Kienan Stewart via lttng-dev <lttng-dev@lists.lttng.org>
To: Georg Muck <georgmuck1@gmail.com>, lttng-dev@lists.lttng.org
Subject: Re: Malformed Tracefiles
Date: Mon, 23 Jun 2025 10:26:44 -0400	[thread overview]
Message-ID: <34912d84-7750-454c-9f96-fb8d865ba8d8@efficios.com> (raw)
In-Reply-To: <CAEobtPOhc8K3c-Qcymm1m-pRpHSZyDSarAKoGKeiKqZfUqXOCQ@mail.gmail.com>

Hi Georg,

a good first step is to run lttng-session with `-vvv --verbose-consumer` 
and inspect the log file and `LTTNG_UST_DEBUG=1` in the environment.

It may also be useful to run your traced applications with 
`LTTNG_UST_DEBUG=1` set in the environment.

Do you have steps that reproduce the issue? E.g., all the commands to 
set up the tracing session and so forth.

thanks,
kienan

On 6/19/25 10:58 AM, Georg Muck via lttng-dev wrote:
> 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)*
> 


  reply	other threads:[~2025-06-23 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 14:58 Georg Muck via lttng-dev
2025-06-23 14:26 ` Kienan Stewart via lttng-dev [this message]
     [not found]   ` <CAEobtPN-Yq_zpu18FsbS-2s4WhJhpEgjK2yuQ+NeOxcGFuaENg@mail.gmail.com>
2025-06-25 15:49     ` Kienan Stewart via lttng-dev
     [not found]       ` <CAEobtPPKOTgJKObVg2hFe2TPR15gTybut=QqrgFhzkPAF3qe5Q@mail.gmail.com>
2025-06-25 20:52         ` Kienan Stewart via lttng-dev
2025-06-26  8:22           ` Georg Muck via lttng-dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34912d84-7750-454c-9f96-fb8d865ba8d8@efficios.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=georgmuck1@gmail.com \
    --cc=kstewart@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox