summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-11-04 10:58:58 +0800
committerWenji Huang <wenji.huang@oracle.com>2009-11-04 10:58:58 +0800
commitc39cdd5565f718302057242bbfe50e71b69c4f4d (patch)
treea3fb608041e2495e1fb1de070144894bdfdd39e2 /elaborate.h
parent5807ac6473b47074cd90f93f5b1b3c3eb452fed9 (diff)
downloadsystemtap-steved-c39cdd5565f718302057242bbfe50e71b69c4f4d.tar.gz
systemtap-steved-c39cdd5565f718302057242bbfe50e71b69c4f4d.tar.xz
systemtap-steved-c39cdd5565f718302057242bbfe50e71b69c4f4d.zip
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.
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h4
1 files changed, 2 insertions, 2 deletions
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<std::string> &arg_set) const {}
void printsig_nested (std::ostream &o) const;
virtual void collect_derivation_chain (std::vector<probe*> &probes_list);