---------------------------------------------------------------------- Date: Tue, 28 Jan 2014 11:37:20 -0500 From: Shariyar <[email protected]>
> 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 <[email protected]> > 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 <[email protected]> > 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 <[email protected]> > 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 <[email protected]> > 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/> _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
