On Wed, 2019-02-20 at 13:53 -0500, Jonathan Rajotte-Julien wrote:
> On Wed, Feb 20, 2019 at 01:43:00PM -0500, Mosleh Uddin wrote:
> > Hello,
> >
> > I see, I was loading the liblttng-ust-fd but not fork. Once loading
> > both of
> > these with LD_PRELOAD everything seems to be working great. Thank
Hello,
Thank you everyone for the assistance and quick response. Thankfully adding
the Environment with LD_PRELOAD in the systemd service file was enough to
get everything running smoothly.
Regards,
Mosleh
On Wed, Feb 20, 2019 at 3:06 PM Jonathan Rajotte-Julien <
jonathan.rajotte-jul...@efficios
> One should be able to add LD_PRELOAD to an Environment line in a
> systemd unit file. But beware, from ld.so docs:
>
> In secure-execution mode, preload pathnames containing slashes are
> ignored. Furthermore, shared objects are preloaded only from the
> standard search directories and only if
On Wed, Feb 20, 2019 at 01:43:00PM -0500, Mosleh Uddin wrote:
> Hello,
>
> I see, I was loading the liblttng-ust-fd but not fork. Once loading both of
> these with LD_PRELOAD everything seems to be working great. Thank you for
> all your assistance.
>
> I was also wondering, it may be impractical
Hello,
I see, I was loading the liblttng-ust-fd but not fork. Once loading both of
these with LD_PRELOAD everything seems to be working great. Thank you for
all your assistance.
I was also wondering, it may be impractical to always load these shared
objects because the systems starts the app serv
- On Feb 20, 2019, at 9:10 AM, Mosleh Uddin wrote:
> Hello,
> Here is what I do to get the consistent behavior:
> When the app is running as a service, lttng list -u does not display any
> events,
> initially I do have to lttng enable-events and lttng start to see the
> tracepoints in lttng
Le mer. 20 févr. 2019, à 09 h 10, Mosleh Uddin a écrit :
>
> Hello,
>
> Here is what I do to get the consistent behavior:
> When the app is running as a service, lttng list -u does not display any
> events, initially I do have to lttng enable-events and lttng start to see the
> tracepoints in lt
Hello,
Here is what I do to get the consistent behavior:
When the app is running as a service, lttng list -u does not display any
events, initially I do have to lttng enable-events and lttng start to see
the tracepoints in lttng view. However, after lttng start, I can disable
all events and I can
Hi Mosleh,
Just to be clear:
When you run your app as a service (background), lttng list -u doesn't
display any events AND you see events in the live session without
having run enable-event and start commands.
When you run your app normally, lttng list -u displays events AND you
only see events aft
Hello,
Sorry for the late reply. I was able to figure out the weird behavior from
the application. Turns out if I run my application as a service, lttng no
longer can see any of the UST tracepoints and causes the behavior I was
explaining.
When I execute the application normally (./app_name), the
Can you start the lttng-sessiond in verbose mode using the following
command:
> lttng-sessiond -vvv
and then do the lttng create, start of application and lttng view on
another console.
Then copy the output of the sessiond on https://pastebin.com/ and send us
the link.
Thank you,
Francis
Le ven.
That's correct, I don't enable any events or do: lttng start.
Here is some snapshots of starting everything up, followed by starting my
application.
[image: image.png]
Here are the outputs for the commands:
[image: image.png]
[image: image.png]
[image: image.png]
Note that even though the sess
Adding back lttng-dev mailing list.
So you don't even run a lttng-enable-event command?
That's odd.
Can you send us the output of the following commands:
Is it possible that there are other lttng-sessiond daemons running on
the machine?
> ps aux | grep "lttng-sessiond"
Verify if there are other a
Hi Mosleh,
It's expected to not see any event when running lttng list -u if no
lttng-ust instrumented applications are running.
What are the exact lttng commands you are running to see those
unexpected events?
Thank you,
Francis
Le ven. 15 févr. 2019, à 10 h 08, Mosleh Uddin a écrit :
>
> Hell
Hello,
I am having a strange issue with my current application. For some context,
I have integrated LTTng into a Yocto build and put custom trace points in
my embedded system application. Once I load the built image onto my system
and start a session daemon, I try to list all available userspace e
15 matches
Mail list logo