Indirect functions not being resolved in libraries
Frank Ch. Eigler
fche@redhat.com
Wed Jul 24 03:16:00 GMT 2013
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
More information about the Systemtap
mailing list