summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index b66dd123..71a9a768 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -9217,6 +9217,7 @@ struct tracepoint_derived_probe: public derived_probe
vector <struct tracepoint_arg> args;
void build_args(dwflpp& dw, Dwarf_Die& func_die);
+ void printargs (std::ostream &o) const;
void join_group (systemtap_session& s);
void emit_probe_context_vars (translator_output* o);
};
@@ -9665,6 +9666,12 @@ tracepoint_derived_probe::build_args(dwflpp& dw, Dwarf_Die& func_die)
while (dwarf_siblingof(&arg, &arg) == 0);
}
+void
+tracepoint_derived_probe::printargs(std::ostream &o) const
+{
+ for (unsigned i = 0; i < args.size(); ++i)
+ o << " $" << args[i].name << ":" << args[i].c_type;
+}
void
tracepoint_derived_probe::join_group (systemtap_session& s)