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

2014-01-29 Thread Thibault, Daniel
-- 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:

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

2014-01-29 Thread Shariyar
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

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

2014-01-28 Thread Shariyar
Hi, 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

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

2014-01-28 Thread Suchakrapani Datt Sharma
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 This works for me. -- Suchakra Quoting Shariyar syed.shari...@gmail.com: Hi, I am trying

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

2014-01-28 Thread Shariyar
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. Regards, Shariyar On Tue, Jan 28, 2014 at 12:29 PM, Suchakrapani Datt Sharma suchakrapani.sha...@polymtl.ca wrote: Check if the liblttng-ust-cyg-profile.so is present in

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

2014-01-28 Thread Alexandre Montplaisir
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:

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

2014-01-28 Thread Shariyar
dpkg -L liblttng-ust0 gives the following; i.e., no liblttng-ust-cyg-profile.so /. /usr /usr/share /usr/share/doc /usr/share/doc/liblttng-ust0 /usr/share/doc/liblttng-ust0/changelog.gz /usr/share/doc/liblttng-ust0/copyright /usr/share/man /usr/share/man/man3 /usr/share/man/man3/lttng-ust.3.gz

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

2014-01-28 Thread Shariyar
Okay. I have found the solution: I used another Debain repository to download and install all the packages. I am wondering, is there any tool/script that matches function addresses with the symbol names from nm, and generates a new CTF file? Regards, Shariyar On Tue, Jan 28, 2014 at 4:19 PM,