From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30198 invoked by alias); 30 Aug 2011 19:41:49 -0000 Received: (qmail 30177 invoked by uid 22791); 30 Aug 2011 19:41:48 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Aug 2011 19:41:34 +0000 From: "scox at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/13143] process.library("libfoo.so").function(ADDRESS).call/return fail to resolve Date: Tue, 30 Aug 2011 19:41:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: scox at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00235.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13143 Stan Cox changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scox at redhat dot com --- Comment #2 from Stan Cox 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.