This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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: Indirect functions not being resolved in libraries


alexander.hoole wrote:

> [...]
> Has anyone tried to put probe points on libraries where the function is
> defined in the symbol table as an indirect function?  
> [...]
> process("/lib64/libc-2.17.so").function("gettimeofday") { log("TEST") }
> semantic error: no match

That's a tricky situation.  The IFUNC resolves on my box to a
kernel-provided vdso symbol, but the runtime task_finder_* stuff does
not track the vdso's address, so even

probe process("/lib/modules/.../vdso/vdso.so").function("gettimeofday") {}

wouldn't fire, since that vdso.so will not appear to be loaded.  We
may be able to fix that though.

- FChE


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