Function tracing not working
David Aldrich
david.aldrich.ntml at gmail.com
Wed Jun 4 12:22:35 EDT 2025
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
More information about the lttng-dev
mailing list