public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-90-ga45664f
@ 2010-04-27  1:43 jistone
  0 siblings, 0 replies; only message in thread
From: jistone @ 2010-04-27  1:43 UTC (permalink / raw)
  To: systemtap-cvs

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 <jistone@redhat.com>
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-27  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-27  1:43 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-90-ga45664f jistone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).