[PATCH 4/6] Remove DL_CALL_FCT wrapper which is used in profiling

Mike Frysinger vapier at gentoo.org
Tue May 5 02:50:26 UTC 2015


On 04 May 2015 18:09, Max Filippov wrote:
> On Mon, May 4, 2015 at 9:14 AM, Mike Frysinger wrote:
> > On 04 May 2015 02:25, Max Filippov wrote:
> >> From: "Anthony G. Basile" <blueness at gentoo.org>
> >>
> >> DL_CALL_FCT is defined in <bits/dlfcn.h> on glibc systems and is
> >> a macro for calling functions in shared objects with dlsym.  This
> >> is useful for profiling since these functions would otherwise not
> >> use the PLT and so not be counted when profiling with gprof.
> >
> > uClibc supports gprof optionally, so i'd be fine with adding this to uClibc.
> > at the very least, the stub would be OK.
> 
> Ok, I'll drop this patch and submit similar stub to uClibc instead.
> BTW, I though uClibc does not support profiling at all. Can you point
> me to the documentation/code for that optional gprof support?

i could have sworn we had it.  maybe i'm confusing some history in my mind.  
even if it doesn't, having a macro that stubs it out costs us nothing and 
increases compatibility with glibc.  we don't take a hard POSIX stance like
other libraries.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20150504/87035f0b/attachment.sig>


More information about the elfutils-devel mailing list