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

Suchakrapani Datt Sharma suchakrapani.sharma at polymtl.ca
Tue Jan 28 12:29:43 EST 2014


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
>





More information about the lttng-dev mailing list