[lttng-dev] Issues on basic LTTng trace userspace (tutorial)

MONTET Julien julien.montet at reseau.eseo.fr
Wed Mar 24 07:29:04 EDT 2021


Hello the LTTng team !

I would like, at first, to thank you for your projet and your impressive work !

For the past few days I have been trying to learn how to use lttng (v2.12).

I followed the installation on your website for an Ubuntu 20.04.
[cid:c663399f-0584-43d3-90c5-3aa277ee7020]

The steps to get the trace of a Linux kernel and the babel trace are great !

However, I am stuck for the 'Trace a user application' : https://lttng.org/docs/v2.12/#doc-tracing-your-own-user-application
Compilation steps are ok, it launches without error but lttng list --userspace  gives me nothing.
I tried of course to add -L/usr/local/lib and -Wl,-rpath,/usr/local/lib

[cid:f913a7d9-4040-468e-ac5d-bea22d81da83]

Have you ever had those kind of issues ?
Could you advise me some debugging methods or solutions ?

Have a nice day,

Julien Montet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20210324/4b95d576/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9833 bytes
Desc: image.png
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20210324/4b95d576/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-2uix20sn.png
Type: image/png
Size: 9327 bytes
Desc: Outlook-2uix20sn.png
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20210324/4b95d576/attachment-0003.png>


More information about the lttng-dev mailing list