From: David Aldrich via lttng-dev <lttng-dev@lists.lttng.org>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: lttng-dev@lists.lttng.org
Subject: Re: Function tracing not working
Date: Wed, 4 Jun 2025 17:22:35 +0100 [thread overview]
Message-ID: <CAJK_ieiG5yDoyg8TetipUJZNMhrpteZuY5CBv5eeUNE18AJq9Q@mail.gmail.com> (raw)
In-Reply-To: <cc6438cc-1836-4983-8f09-c569ee2cf11d@efficios.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
next prev parent reply other threads:[~2025-06-04 16:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-02 14:37 David Aldrich via lttng-dev
2025-06-02 17:22 ` Mathieu Desnoyers via lttng-dev
2025-06-04 16:22 ` David Aldrich via lttng-dev [this message]
2025-06-05 10:49 ` David Aldrich via lttng-dev
2025-06-05 18:49 ` Mathieu Desnoyers via lttng-dev
2025-06-06 14:37 ` David Aldrich via lttng-dev
2025-06-06 18:14 ` Mathieu Desnoyers via lttng-dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJK_ieiG5yDoyg8TetipUJZNMhrpteZuY5CBv5eeUNE18AJq9Q@mail.gmail.com \
--to=lttng-dev@lists.lttng.org \
--cc=david.aldrich.ntml@gmail.com \
--cc=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox