summaryrefslogtreecommitdiffstats
path: root/tapsets.h
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.h')
-rw-r--r--tapsets.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tapsets.h b/tapsets.h
index cf83b5e3..ba322d44 100644
--- a/tapsets.h
+++ b/tapsets.h
@@ -21,8 +21,10 @@ void common_probe_entryfn_prologue (translator_output* o, std::string statestr,
void common_probe_entryfn_epilogue (translator_output* o, bool overload_processing = true);
void register_tapset_been(systemtap_session& sess);
+void register_tapset_procfs(systemtap_session& sess);
void register_tapset_timers(systemtap_session& sess);
+
// ------------------------------------------------------------------------
// Generic derived_probe_group: contains an ordinary vector of the
// given type. It provides only the enrollment function.
@@ -36,6 +38,19 @@ public:
void enroll (DP* probe) { probes.push_back (probe); }
};
+
+// ------------------------------------------------------------------------
+// An update visitor that allows replacing assignments with a function call
+
+struct var_expanding_visitor: public update_visitor
+{
+ static unsigned tick;
+ std::stack<functioncall**> target_symbol_setter_functioncalls;
+
+ var_expanding_visitor() {}
+ void visit_assignment (assignment* e);
+};
+
#endif // TAPSETS_H
/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */