This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: 2 problems with sprof
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: 2 problems with sprof
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 19 Sep 2001 19:22:56 -0700
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010919190222.A7525@lucon.org>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"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 `------------------------