From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16220 invoked by alias); 27 Apr 2010 01:43:39 -0000 Received: (qmail 16196 invoked by uid 9586); 27 Apr 2010 01:43:38 -0000 Date: Tue, 27 Apr 2010 01:43:00 -0000 Message-ID: <20100427014338.16185.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.2-90-ga45664f X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f1604314635f802b715f832a78ca4ed605193dfb X-Git-Newrev: a45664f49661a6388ee8b04078cf859688614ad9 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: 2010-q2/txt/msg00050.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 a45664f49661a6388ee8b04078cf859688614ad9 (commit) from f1604314635f802b715f832a78ca4ed605193dfb (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 a45664f49661a6388ee8b04078cf859688614ad9 Author: Josh Stone Date: Mon Apr 26 18:16:51 2010 -0700 PR11340: Use local vardecls for tracepoint/marker args This gets rid of the "probe_context_var" field of target_symbols, which was a hacky way to resolve args into a special local variable. Now we create a real local vardecl and mark it with "skip_init" so we know that it will be filled in by derived_probe-specific code. * staptree.h (target_symbol): Remove probe_context_var. (vardecl): Add skip_init. * elaborate.h (derived_probe::emit_probe_context_vars): Remove, as such vars are now emitted along with all the other locals. * elaborate.cxx (semantic_pass_opt2): Make skip_init locals immune to read/write analysis. (const_folder::visit_defined_op): No more probe_context_var. (typeresolution_info::visit_symbol): Ditto. * tapset-mark.cxx (mark_var_expanding_visitor::visit_target_symbol_arg): Refer to the local name as a normal symbol reference. (mark_derived_probe::mark_derived_probe): If target_symbols were used, add vardecls to the probe locals. (mark_derived_probe::emit_probe_context_vars): Remove. * tapsets.cxx (var_expanding_visitor::visit_defined_op): For @defined, there's no longer a "success" via probe_context_var. (tracepoint_var_expanding_visitor::visit_target_symbol_arg): Refer to the local name as a normal symbol reference. (tracepoint_derived_probe::tracepoint_derived_probe): For each used arg, add a vardecl to the probe locals. (tracepoint_derived_probe::emit_probe_context_vars): Remove. * translate.cxx (c_unparser::emit_common_header): No probe_context_vars. (c_unparser::emit_probe): Don't init the skip_init locals. (c_unparser_assignment::visit_symbol): No more probe_context_var. ----------------------------------------------------------------------- Summary of changes: elaborate.cxx | 8 ++++---- elaborate.h | 4 ---- staptree.cxx | 2 +- staptree.h | 2 +- tapset-mark.cxx | 45 +++++++++++++++------------------------------ tapsets.cxx | 33 +++++++++++++++++---------------- translate.cxx | 8 +++----- 7 files changed, 41 insertions(+), 61 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool