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


On Wed, Sep 19, 2001 at 10:12:23PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > What did you mean by that? sprof failed because dynfunc.so has some
> > unresolved symbols. Did you mean only DSOs without unresolved symbols
> > can be profiled?
> 
> I was referring to the other thing you mentioned.  Must have left the
> wrong quote in.  As for the undefined symbol, haven't looked at it yet.

I think it is wrong for sprof to call dlopen with RTLD_LAZY. I think
we should add RTLD_PROF for sprof. It should treat undefined symbols
as weak if we have to resolve them and also it shouldn't call init/fini
functions.


H.J.


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