This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/13143] process.library("libfoo.so").function(ADDRESS).call/return fail to resolve
- From: "scox at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 30 Aug 2011 19:41:15 +0000
- Subject: [Bug translator/13143] process.library("libfoo.so").function(ADDRESS).call/return fail to resolve
- Auto-submitted: auto-generated
- References: <bug-13143-6586@http.sourceware.org/bugzilla/>
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.