summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-20 22:06:20 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-20 22:06:20 -0500
commit8fe15c1c1fcad3cf69c99f6eed18fddce2ace3cd (patch)
treec40367e5311e9e80f0ad30a2edbc3362946193d8 /staptree.h
parentefa777288a9297c3842a9fe1ad9fbdc7ffe69311 (diff)
parentcbbe8080060563441ba79ed4645e9b533a870409 (diff)
downloadsystemtap-steved-8fe15c1c1fcad3cf69c99f6eed18fddce2ace3cd.tar.gz
systemtap-steved-8fe15c1c1fcad3cf69c99f6eed18fddce2ace3cd.tar.xz
systemtap-steved-8fe15c1c1fcad3cf69c99f6eed18fddce2ace3cd.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/staptree.h b/staptree.h
index d8c97633..9e32d16b 100644
--- a/staptree.h
+++ b/staptree.h
@@ -574,6 +574,7 @@ struct probe_point
const token* tok; // points to first component's functor
bool optional;
bool sufficient;
+ expression* condition;
void print (std::ostream& o) const;
probe_point ();
probe_point(std::vector<component*> const & comps,const token * t);
@@ -590,8 +591,10 @@ struct probe
const token* tok;
std::vector<vardecl*> locals;
std::vector<vardecl*> unused_locals;
+ expression* condition;
probe ();
void print (std::ostream& o) const;
+ void add_condition (expression* e);
virtual void printsig (std::ostream &o) const;
virtual void collect_derivation_chain (std::vector<derived_probe*> &probes_list);
virtual probe* basest () { return this; }
@@ -794,6 +797,7 @@ struct deep_copy_visitor: public visitor
{
std::stack<void *> targets;
+ static expression *deep_copy (expression *s);
static statement *deep_copy (statement *s);
static block *deep_copy (block *s);