summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/staptree.h b/staptree.h
index 4eed068d..583a877d 100644
--- a/staptree.h
+++ b/staptree.h
@@ -577,7 +577,12 @@ struct probe
probe ();
void print (std::ostream& o) const;
virtual void printsig (std::ostream &o) const;
+ virtual probe* basest () { return this; }
virtual ~probe() {}
+private:
+ static unsigned last_probeidx;
+public:
+ std::string name;
};
struct probe_alias: public probe