From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124300 invoked by alias); 10 Jul 2015 21:47:31 -0000 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 Received: (qmail 123364 invoked by uid 48); 10 Jul 2015 21:47:27 -0000 From: "jistone at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/18649] int_arg() misbehaves on x86[_64] for 32-bit uprobe in binary having debuginfo Date: Fri, 10 Jul 2015 21:47:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jistone at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00033.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18649 --- Comment #5 from Josh Stone --- (In reply to Martin Cermak from comment #3) > Maybe it'd be useful to have an option to foce stap not to use debuginfo > even if it's available. It'd be easier to use and less invasive than strip. > [...] I see e.g. -P in the man page, but not resp. opposite switch. I could see this as a tri-state long option, something like: --prologue-searching=always (same as -P) --prologue-searching=auto (current default, only userspace w/ has_valid_locs()) --prologue-searching=never (completely disabled) Ignoring debuginfo for "all" purposes could be a separate option, only tangentially related to prologues. We'd still need some debuginfo use to leak through though -- e.g. we generate debuginfo objects to gather tracepoints. Also @cast requires debuginfo, and generated @cast-with-headers is particularly useful to otherwise "dwarfless" probing. -- You are receiving this mail because: You are the assignee for the bug.