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

Max Filippov jcmvbkbc at gmail.com
Mon May 4 15:09:16 UTC 2015


Hi Mike,

On Mon, May 4, 2015 at 9:14 AM, Mike Frysinger <vapier at gentoo.org> 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?

-- 
Thanks.
-- Max


More information about the elfutils-devel mailing list