* How to show method entry/exit in Trace Compass?
@ 2026-04-30 17:01 David Aldrich via lttng-dev
2026-05-01 19:31 ` Matthew Khouzam via lttng-dev
0 siblings, 1 reply; 2+ messages in thread
From: David Aldrich via lttng-dev @ 2026-04-30 17:01 UTC (permalink / raw)
To: lttng-dev
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to show method entry/exit in Trace Compass?
2026-04-30 17:01 How to show method entry/exit in Trace Compass? David Aldrich via lttng-dev
@ 2026-05-01 19:31 ` Matthew Khouzam via lttng-dev
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Khouzam via lttng-dev @ 2026-05-01 19:31 UTC (permalink / raw)
To: lttng-dev, David Aldrich
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
Hi David,
I would love to look into the "lost event". Can you share the trace? maybe it's an easy win.
________________________________
From: lttng-dev <lttng-dev-bounces@lists.lttng.org> on behalf of David Aldrich via lttng-dev <lttng-dev@lists.lttng.org>
Sent: Thursday, April 30, 2026 7:01 PM
To: lttng-dev@lists.lttng.org <lttng-dev@lists.lttng.org>
Subject: How to show method entry/exit in Trace Compass?
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: 2506 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-01 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-30 17:01 How to show method entry/exit in Trace Compass? David Aldrich via lttng-dev
2026-05-01 19:31 ` Matthew Khouzam via lttng-dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox