Re: Function tracing not working
David Aldrich via lttng-dev <[email protected]> Wed, 4 Jun 2025 17:22:35 +0100
| Newsgroups | org.lttng.lists.lttng-dev |
|---|---|
| Message-ID | <CAJK_ieiG5yDoyg8TetipUJZNMhrpteZuY5CBv5eeUNE18AJq9Q@mail.gmail.com> |
Hi Mathieu > > Any idea what I am doing wrong please? > > AFAIK, the "LD_PRELOAD" environment variable is cleared by > sudo when running its child process for security purposes. Thanks for your answer, that does help. However, I have now adjusted the code so that sudo is not required, but when I import the trace the UST-CallStacks are still strikethrough. Any thoughts why this is happening? I don't see any runtime errors whether or not I specify the prefix: LD_PRELOAD=liblttng-ust-cyg-profile.so Is that expected? Best regards, David