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

Shariyar syed.shariyar at gmail.com
Tue Jan 28 17:25:26 EST 2014


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, Shariyar <syed.shariyar at gmail.com> wrote:

>
>  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
> /usr/share/man/man3/lttng-ust-cyg-profile.3.gz
> /usr/lib
> /usr/lib/x86_64-linux-gnu
> /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0.0.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-fork.so.0.0.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0.0.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0.0.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-ctl.so.2.0.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-fork.so.0
> /usr/lib/x86_64-linux-gnu/liblttng-ust-ctl.so.2
>
>
>
> On Tue, Jan 28, 2014 at 12:45 PM, Alexandre Montplaisir <
> alexmonthy at voxpopuli.im> wrote:
>
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140128/d17ff873/attachment.html>


More information about the lttng-dev mailing list