Download and install the following UST packages but first remove the already installed versions. For other LTTng packages, you can reinstall from your previous repository or from here.
http://packages.debian.org/sid/liblttng-ust-ctl2 http://packages.debian.org/sid/liblttng-ust0 http://packages.debian.org/unstable/liblttng-ust-dev On Wed, Jan 29, 2014 at 9:26 AM, Thibault, Daniel < daniel.thiba...@drdc-rddc.gc.ca> wrote: > ---------------------------------------------------------------------- > Date: Tue, 28 Jan 2014 11:37:20 -0500 > From: Shariyar <syed.shari...@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.sha...@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.shari...@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 <alexmon...@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.shari...@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/> >
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev