This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LD_PROFILE error


I'd like to profile a shared library without overhead associated with
valgrind (since the library is part of a networked application that
ought to run real-time). It seems sprof is the right tool for this, so
I execute "LD_PROFILE=PATH_TO/lib_to_profile.so $(which
application_that_uses_the_lib)". However, I get an error in this
format:

[application]: no PLTREL found in object [library used by application
but not by library to be profiled]

This message is generated in glibc source file dl-reloc.c and I assume
members of this list can help me understand what I can do about this
situation. I don't intend to rebuild existing libraries on my system
used by application but not by the shared library I want to debug. Is
this error generated by a bug?

Thank you


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]