This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ChangeLog elaborate.cxx elaborate.h parse. ...
- From: hiramatu at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 20 Nov 2007 21:03:16 -0000
- Subject: src ChangeLog elaborate.cxx elaborate.h parse. ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hiramatu@sourceware.org 2007-11-20 21:03:16
Modified files:
. : ChangeLog elaborate.cxx elaborate.h parse.cxx
staptree.cxx staptree.h tapsets.cxx
Log message:
2007-11-20 Masami Hiramatsu <mhiramat@redhat.com>
PR 4935.
* parse.cxx (parser::parse_probe_point): Parse "if" condition
following probe point.
* staptree.h (probe_point): Add "condition" field.
(probe): Add "condition" field and "add_condition" method.
(deep_copy_visitor): Add "deep_copy" method for the expression.
* staptree.cxx (probe_point::probe_point): Initalize it.
(probe::add_condition): Implement it.
(probe::print): Output "condition" field.
(probe::str): Ditto.
(deep_copy_visitor::deep_copy): Implement it.
* elaborate.h (derived_probe): Add "insert_condition_statement"
method.
* elaborate.cxx (derived_probe::derived_probe): Initialize "condition"
field, and insert a condition check routine on the top of body.
(derived_probe::insert_condition_statement): Implement it.
(alias_expansion_builder::build): Pass the condition from the alias
referer to new alias.
* tapsets.cxx (be_derived_probe): Remove unused constructor.
(dwarf_derived_probe::dwarf_derived_probe): Insert a condition check
routine on the top of body.
(mark_derived_probe::mark_derived_probe): Ditto.
(mark_builder::build): Pass the base location to mark_derived_probe.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.720&r2=1.721
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.88&r2=1.89
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.h.diff?cvsroot=systemtap&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.73&r2=1.74
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.66&r2=1.67
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.224&r2=1.225