Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: David Aldrich via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev@lists.lttng.org
Subject: How to show method entry/exit in Trace Compass?
Date: Thu, 30 Apr 2026 18:01:32 +0100	[thread overview]
Message-ID: <CAJK_ieix5QAMUEhY4R4Cm5tUwZ_W98fG8wrb947GwCW3YR0tqQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Hi

I'm using LTTng 2.13.11 on Ubuntu 24.04 with Trace Compass 11.3.0
on Windows, to analyse a C++ app.

I have used LTTng and Trace Compass a little to instrument our user space
app using  lttng_ust_tracef(). I now want to show actual method entry/exit
points in a Gantt type view.

With help from AI I instrumented entry/exit for one method. Babeltrace
shows that the trace files contain those points:

<time> sr1  myapp:method_entry: { cpu_id = 4 }, { class = "ThreadPool",
method = "mainLoop" }
<time> sr1 myapp:method_exit: { cpu_id = 6 }, { class = "ThreadPool",
method = "mainLoop" }

But when I import the trace into Trace Compass I see the events but the
trace shows only the app name, not the method name.

What am I missing? Is there a user guide article that would help me?

Best regards
David

[-- Attachment #2: Type: text/html, Size: 998 bytes --]

             reply	other threads:[~2026-04-30 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-30 17:01 David Aldrich via lttng-dev [this message]
2026-05-01 19:31 ` Matthew Khouzam 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=CAJK_ieix5QAMUEhY4R4Cm5tUwZ_W98fG8wrb947GwCW3YR0tqQ@mail.gmail.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=david.aldrich.ntml@gmail.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