On 2025-06-06 10:37, David Aldrich wrote:
Hi Mathieu
Indeed, You will also need to enable something like this:
lttng enable-event --userspace 'lttng_ust_cyg_profile:*'
See "man 3 lttng-ust-cyg-profile" for details.
Thanks for this. I used your suggested command and can now see the
Flame Chart (Incubator). However, I only see symbol addresses, not the
actual symbolic names.
I compile with:
-O3 -pg -finstrument-functions
Do I need any other compiler/linker options to resolve the symbol names?
Yes. Resolving addresses to symbol names requires to know the
base addresses where the executable mappings are loaded.
See:
man 7 babeltrace2-filter.lttng-utils.debug-info
for a detailed explanation about what needs to be enabled.
Thanks,
Mathieu
Best regards
David
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com