Re: Function tracing not working

David Aldrich via lttng-dev <[email protected]> Fri, 6 Jun 2025 15:37:50 +0100
Newsgroups org.lttng.lists.lttng-dev
Message-ID <CAJK_iehv1BWCp5FOfXkrDpPoDTG1nnhAZ4iCS1rRwjQbpQQkxQ@mail.gmail.com>
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?

Best regards
David