This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH 4/6] Remove DL_CALL_FCT wrapper which is used in profiling
- From: Max Filippov <jcmvbkbc at gmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 04 May 2015 18:09:16 +0300
- Subject: Re: [PATCH 4/6] Remove DL_CALL_FCT wrapper which is used in profiling
On Mon, May 4, 2015 at 9:14 AM, Mike Frysinger <firstname.lastname@example.org> wrote:
> On 04 May 2015 02:25, Max Filippov wrote:
>> From: "Anthony G. Basile" <email@example.com>
>> 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?