[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:

[lttng-dev] urcu hang in cds_lfht_add

2014-01-28 Thread Florian Lohoff
Hi, i am using urcu hashes for indexing network packets. I am currently reading a pcap file for replaying so i am single threaded right now. I am indexing the same packet in multiple different hashes. I have now added call_rcu for freeing structures and now i experience hangs. As soon as i

Re: [lttng-dev] urcu hang in cds_lfht_add

2014-01-28 Thread Florian Lohoff
On Tue, Jan 28, 2014 at 09:24:13PM +0100, Florian Lohoff wrote: Hi, i am using urcu hashes for indexing network packets. I am currently reading a pcap file for replaying so i am single threaded right now. I am indexing the same packet in multiple different hashes. I have now added

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,