[Bug translator/13143] process.library("libfoo.so").function(ADDRESS).call/return fail to resolve
scox at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Aug 30 19:41:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13143
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scox at redhat dot com
--- Comment #2 from Stan Cox <scox at redhat dot com> 2011-08-30 19:41:15 UTC ---
Looks like it is working as designed.
probe process ("libfoo.so").library("libfoo.so").function(0x55e).call
maps to and seems to behave identical to:
probe process ("libfoo.so").function(0x55e).call
query_addr has this check.
if ((tag == DW_TAG_subprogram && !q->has_inline) ||
(tag == DW_TAG_inlined_subroutine &&
!q->has_call && !q->has_return))
which in the above case is checking
tag == DW_TAG_inlined_subroutine
q->has_call == true
and thus it fails.
For the case where a probe is added to libfoofunc then the check becomes
tag == DW_TAG_subprogram
q->has_inline == true
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list