This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Mike,

On Mon, May 4, 2015 at 9:14 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On 04 May 2015 02:25, Max Filippov wrote:
>> From: "Anthony G. Basile" <blueness@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

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