From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3836 invoked by alias); 30 Aug 2011 19:52:34 -0000 Received: (qmail 3823 invoked by uid 22791); 30 Aug 2011 19:52:33 -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:52:18 +0000 From: "brolley 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:52: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: brolley 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: 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/msg00237.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13143 --- Comment #4 from Dave Brolley 2011-08-30 19:51:29 UTC --- (In reply to comment #2) > 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 So are you saying that it's not resolving because the function libfoofunc was inlined (because it was empty)? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.