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

Alexandre Montplaisir alexmonthy at voxpopuli.im
Tue Jan 28 12:45:34 EST 2014


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.


Cheers,
Alexandre


On 14-01-28 12:32 PM, Shariyar wrote:
> 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.sharma at polymtl.ca> wrote:
>
>> 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.shariyar at gmail.com>:
>>
>>> 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 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
>>>
>>> Please let me know how to get it to work?
>>>
>>> Thanks,
>>> Shariyar
>>>
>>
>>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev




More information about the lttng-dev mailing list