summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
authorCharley Wang <chwang@redhat.com>2009-11-10 12:22:18 -0500
committerCharley Wang <chwang@redhat.com>2009-11-10 12:22:18 -0500
commitf1a0157a5bacc6c7f739a621ee86fec2be9b0080 (patch)
tree5be55af0801b2553afdf905524f7924219aec88d /staptree.h
parent7885012ba0a7c1d7c974dd9528afa90aeed916a6 (diff)
downloadsystemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.gz
systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.xz
systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.zip
PR10877: Give token* to each component instead of each probe_point
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/staptree.h b/staptree.h
index 791b56f4..a654a7b4 100644
--- a/staptree.h
+++ b/staptree.h
@@ -630,17 +630,17 @@ struct probe_point
std::string functor;
literal* arg; // optional
component ();
+ const token* tok; // points to component's functor
component(std::string const & f, literal * a = NULL);
};
std::vector<component*> components;
- 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(const probe_point& pp);
- probe_point(std::vector<component*> const & comps,const token * t);
+ probe_point(std::vector<component*> const & comps);
std::string str();
};