From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 338 invoked by alias); 26 Jul 2011 21:42:54 -0000 Received: (qmail 310 invoked by uid 9112); 26 Jul 2011 21:42:53 -0000 Date: Tue, 26 Jul 2011 21:42:00 -0000 Message-ID: <20110726214253.32767.qmail@sourceware.org> From: mark@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, mjw/backtrace, updated. release-1.5-194-g556ca99 X-Git-Refname: refs/heads/mjw/backtrace X-Git-Reftype: branch X-Git-Oldrev: 5ad2040b40b084356021e8bbf484a98b728865b9 X-Git-Newrev: 556ca99181aec9034dcd76072ba85e7d3d5427cc Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2011-q3/txt/msg00107.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, mjw/backtrace has been updated via 556ca99181aec9034dcd76072ba85e7d3d5427cc (commit) via f4eff05f664d737ece23554e9322e1f84cf20c6e (commit) from 5ad2040b40b084356021e8bbf484a98b728865b9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 556ca99181aec9034dcd76072ba85e7d3d5427cc Author: Mark Wielaard Date: Tue Jul 26 23:31:01 2011 +0200 Allow gcc to optimize away uprobe_get_pc() calls in some situations. If a call is made to the stack-x86.c __stp_stack_print() it might try to call uprobe_get_pc(). If this is just a kernel backtrace then uprobes might not be loaded. Add a hint by explicitly clearing the struct uretprobe_instance *ri variable in that cass in the calling function _stp_stack_print() in stack.c, so that gcc optimizes away the uprobe_get_pc() call, so that the symbol isn't in the module anymore. Would cause issues like: WARNING: "uprobe_get_pc" [stap_d46895_3786.ko] undefined! Error inserting module 'stap_d46895_3786.ko': Unknown symbol in module commit f4eff05f664d737ece23554e9322e1f84cf20c6e Author: Mark Wielaard Date: Tue Jul 26 23:29:48 2011 +0200 Adjust expected "no backtrace" string in context/backtrace.tcl test. The new generic form is now "". ----------------------------------------------------------------------- Summary of changes: runtime/stack.c | 14 +++++++++----- testsuite/systemtap.context/backtrace.tcl | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool