[lttng-dev] liblttng-ust-cyg-profile.so not found

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Wed Jan 29 09:26:07 EST 2014


----------------------------------------------------------------------
Date: Tue, 28 Jan 2014 11:37:20 -0500
From: Shariyar <syed.shariyar at gmail.com>

> I am trying to collect function entry and exit points in a trace. I  have followed the instructions written on the following man page:
> http://manpages.ubuntu.com/manpages/trusty/man3/lttng-ust-cyg-profile.3.html.
>
> In my system, UST tracepoint tracing  is working fine and I am able to collect traces with the statically typed tracepoints in the code.
> However, there is no liblttng-ust-cyg-profile.so in my system and I get an error when I execute the following:
>
>      *LD_PRELOAD=liblttng-ust-cyg-profile.so* appname
------------------------------
Date: Tue, 28 Jan 2014 12:29:43 -0500
From: Suchakrapani Datt Sharma <suchakrapani.sharma at polymtl.ca>

> Check if the liblttng-ust-cyg-profile.so is present in system using 'locate'. On my system its in /usr/lib64
> Then give the absolute path -
>*LD_PRELOAD=/usr/lib64/liblttng-ust-cyg-profile.so* appname
------------------------------
Date: Tue, 28 Jan 2014 12:32:14 -0500
From: Shariyar <syed.shariyar at gmail.com>

> It is not present in the system even after reinstalling ust libs from PPA.
> I am working on Ubuntu 12.04.1 LTS, 64 bit.
------------------------------
Date: Tue, 28 Jan 2014 12:45:34 -0500
From: Alexandre Montplaisir <alexmonthy at voxpopuli.im>

> On Ubuntu/Debian, there is no "lib64", it's /usr/lib/x86_64-linux-gnu/
>
> If you installed UST from the distro package, it should be at:
> /usr/lib/x86_64-linux-gnu/liblttng-ust-cyg-profile.so.0
>
> (the .so symlink is only installed by the -dev package)
>
> If you installed from source, it would be at:
> /usr/local/lib/liblttng-ust-cyg-profile.so
>
> Quick tip: you can use:
> dpkg -L liblttng-ust0
> to list the files installed by a package.
------------------------------
Date: Tue, 28 Jan 2014 16:19:09 -0500
From: Shariyar <syed.shariyar at gmail.com>

> dpkg -L liblttng-ust0 gives the following; i.e., no liblttng-ust-cyg-profile.so
>
> /usr/share/man/man3/lttng-ust-cyg-profile.3.gz

   Which package did you install, and whence came it?

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



More information about the lttng-dev mailing list