From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3196 invoked by alias); 6 Oct 2009 06:11:57 -0000 Received: (qmail 3163 invoked by uid 9586); 6 Oct 2009 06:11:57 -0000 Date: Tue, 06 Oct 2009 06:11:00 -0000 Message-ID: <20091006061157.3152.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-65-g6b51747 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 6e2d11625b991b4094c9f2cc04e30f8d00f711a6 X-Git-Newrev: 6b517475576ac5f2209e5231d14d0b8aa0b6a4d5 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: 2009-q4/txt/msg00013.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, master has been updated via 6b517475576ac5f2209e5231d14d0b8aa0b6a4d5 (commit) from 6e2d11625b991b4094c9f2cc04e30f8d00f711a6 (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 6b517475576ac5f2209e5231d14d0b8aa0b6a4d5 Author: Josh Stone Date: Mon Oct 5 17:41:30 2009 -0700 PR10726: Get the correct scope for statement(NUM) The problem in this bug is that our statement(NUM) lookup was only searching for the outermost function (not inlined) which contains the PC in question. When that PC happens to be the beginning of the function and also the beginning of an inline, the caching was using the wrong variable scope. The function/statement(NUM) lookup has been rewritten to bypass all of the CU and function iteration, and just go straight to a getscopes(pc) lookup, so it will now always use the innermost containing die for the variable scope. * tapsets.cxx (query_addr): New, short-circuit for numeric probes. (dwarf_query::query_module_dwarf): Route num probes to query_addr. (query_label): Assume now that we only need to handle _str probes. (query_dwarf_inline_instance): Ditto. (query_dwarf_func): Ditto. (query_cu): Ditto. ----------------------------------------------------------------------- Summary of changes: tapsets.cxx | 451 +++++++++++++++++++++++++++++------------------------------ 1 files changed, 219 insertions(+), 232 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool