This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: 2 problems with sprof


"H . J . Lu" <hjl@lucon.org> writes:

> There are 2 problems with sprof. First, we don't store the canonical
> filename so that LD_PROFILE=dynfunc.so won't work with

This has runtime impact and just for the benefit of some corner case.
It perfectly reasonable to expect that the user can determine the
SONAME.

> # sprof dynfunc.so
> sprof: failed to load shared object `dynfunc.so': No such file or directory

Again, no problem.  If you don't know exactly which DSO you are
profiling you do something wrong.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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