From c39cdd5565f718302057242bbfe50e71b69c4f4d Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Wed, 4 Nov 2009 10:58:58 +0800 Subject: PR10466: print the set-intersection of variables retrieved from each branch * elaborate.h: Remove printargs and add getargs. * tapset-mark.cxx (mark_derived_probe): Ditto. * tapsets.cxx (dwarf_derived_probe,tracepoint_derived_probe): Ditto. * main.cxx (printscript): Make intersection before printing. --- elaborate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index fec62d59..30a02c5b 100644 --- a/elaborate.h +++ b/elaborate.h @@ -128,8 +128,8 @@ struct derived_probe: public probe virtual void join_group (systemtap_session& s) = 0; virtual probe_point* sole_location () const; virtual void printsig (std::ostream &o) const; - //for print arguments of probe if there - virtual void printargs (std::ostream &o) const {} + // return arguments of probe if there + virtual void getargs (std::set &arg_set) const {} void printsig_nested (std::ostream &o) const; virtual void collect_derivation_chain (std::vector &probes_list); -- cgit