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 <[email protected]>: > 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 [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
