diff options
author | Dave Brolley <brolley@redhat.com> | 2009-11-05 15:23:35 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-11-05 15:23:35 -0500 |
commit | ffe4285b81564e098aa7a2d056ff62a8700f321d (patch) | |
tree | 8b2145ec5de1929efd04c5d7207d659e93df4fbd /tapset-mark.cxx | |
parent | dcb95d9a7c3abc823699d7c096219f9e09ea5921 (diff) | |
parent | c39cdd5565f718302057242bbfe50e71b69c4f4d (diff) | |
download | systemtap-steved-ffe4285b81564e098aa7a2d056ff62a8700f321d.tar.gz systemtap-steved-ffe4285b81564e098aa7a2d056ff62a8700f321d.tar.xz systemtap-steved-ffe4285b81564e098aa7a2d056ff62a8700f321d.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset-mark.cxx')
-rw-r--r-- | tapset-mark.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tapset-mark.cxx b/tapset-mark.cxx index fc9cb274..1ce3c919 100644 --- a/tapset-mark.cxx +++ b/tapset-mark.cxx @@ -59,7 +59,7 @@ struct mark_derived_probe: public derived_probe void print_dupe_stamp (ostream& o); void emit_probe_context_vars (translator_output* o); void initialize_probe_context_vars (translator_output* o); - void printargs (std::ostream &o) const; + void getargs (std::set<std::string> &arg_set) const; void parse_probe_format (); }; @@ -465,7 +465,7 @@ mark_derived_probe::initialize_probe_context_vars (translator_output* o) } void -mark_derived_probe::printargs(std::ostream &o) const +mark_derived_probe::getargs(std::set<std::string> &arg_set) const { for (unsigned i = 0; i < mark_args.size(); i++) { @@ -473,13 +473,13 @@ mark_derived_probe::printargs(std::ostream &o) const switch (mark_args[i]->stp_type) { case pe_long: - o << " " << localname << ":long"; + arg_set.insert(localname+":long"); break; case pe_string: - o << " " << localname << ":string"; + arg_set.insert(localname+":string"); break; default: - o << " " << localname << ":unknown"; + arg_set.insert(localname+":unknown"); break; } } |