<div dir="ltr"><br> dpkg -L liblttng-ust0 gives the following; i.e., no liblttng-ust-cyg-profile.so<br><br>/.<br>/usr<br>/usr/share<br>/usr/share/doc<br>/usr/share/doc/liblttng-ust0<br>/usr/share/doc/liblttng-ust0/changelog.gz<br>
/usr/share/doc/liblttng-ust0/copyright<br>/usr/share/man<br>/usr/share/man/man3<br>/usr/share/man/man3/lttng-ust.3.gz<br>/usr/share/man/man3/lttng-ust-cyg-profile.3.gz<br>/usr/lib<br>/usr/lib/x86_64-linux-gnu<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0.0.0<br>
/usr/lib/x86_64-linux-gnu/liblttng-ust-fork.so.0.0.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0.0.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0.0.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-ctl.so.2.0.0<br>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-fork.so.0<br>/usr/lib/x86_64-linux-gnu/liblttng-ust-ctl.so.2<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 12:45 PM, Alexandre Montplaisir <span dir="ltr"><<a href="mailto:alexmonthy@voxpopuli.im" target="_blank">alexmonthy@voxpopuli.im</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Ubuntu/Debian, there is no "lib64", it's /usr/lib/x86_64-linux-gnu/<br>
<br>
If you installed UST from the distro package, it should be at:<br>
/usr/lib/x86_64-linux-gnu/liblttng-ust-cyg-profile.so.0<br>
<br>
(the .so symlink is only installed by the -dev package)<br>
<br>
If you installed from source, it would be at:<br>
/usr/local/lib/liblttng-ust-cyg-profile.so<br>
<br>
<br>
Quick tip: you can use:<br>
dpkg -L liblttng-ust0<br>
to list the files installed by a package.<br>
<br>
<br>
Cheers,<br>
Alexandre<br>
<div><div class="h5"><br>
<br>
On 14-01-28 12:32 PM, Shariyar wrote:<br>
> It is not present in the system even after reinstalling ust libs from PPA.<br>
> I am working on Ubuntu 12.04.1 LTS, 64 bit.<br>
><br>
> Regards,<br>
> Shariyar<br>
><br>
><br>
> On Tue, Jan 28, 2014 at 12:29 PM, Suchakrapani Datt Sharma <<br>
> <a href="mailto:suchakrapani.sharma@polymtl.ca">suchakrapani.sharma@polymtl.ca</a>> wrote:<br>
><br>
>> Check if the liblttng-ust-cyg-profile.so is present in system using<br>
>> 'locate'. On<br>
>> my system its in /usr/lib64<br>
>><br>
>> Then give the absolute path -<br>
>><br>
>> *LD_PRELOAD=/usr/lib64/liblttng-ust-cyg-profile.so* appname<br>
>><br>
>> This works for me.<br>
>><br>
>> --<br>
>> Suchakra<br>
>><br>
>> Quoting Shariyar <<a href="mailto:syed.shariyar@gmail.com">syed.shariyar@gmail.com</a>>:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> I am trying to collect function entry and exit points in a trace. I have<br>
>>> followed the instructions written on the following man page:<br>
>>><br>
>> <a href="http://manpages.ubuntu.com/manpages/trusty/man3/lttng-ust-cyg-profile.3.html" target="_blank">http://manpages.ubuntu.com/manpages/trusty/man3/lttng-ust-cyg-profile.3.html</a><br>
>> .<br>
>>><br>
>>> In my system, UST tracepoint tracing is working fine and I am able to<br>
>>> collect traces with the statically typed tracepoints in the code.<br>
>> However,<br>
>>> there is no liblttng-ust-cyg-profile.so in my system and I get an error<br>
>>> when I execute the following:<br>
>>><br>
>>> *LD_PRELOAD=liblttng-ust-cyg-profile.so* appname<br>
>>><br>
>>> Please let me know how to get it to work?<br>
>>><br>
>>> Thanks,<br>
>>> Shariyar<br>
>>><br>
>><br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<br>
</blockquote></div><br></div>