summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorNobuhiro Tachino <tachino@jp.fujitsu.com>2010-02-02 12:19:18 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-02-02 12:19:18 -0500
commitd0bfd2ac518333369a384d58882ff37d5288225f (patch)
treee034cfa1267148ca18a42b0bc9d56813ea48e56d /elaborate.h
parent495b9d7c310985f3c185f4ca642b521141d9b722 (diff)
downloadsystemtap-steved-d0bfd2ac518333369a384d58882ff37d5288225f.tar.gz
systemtap-steved-d0bfd2ac518333369a384d58882ff37d5288225f.tar.xz
systemtap-steved-d0bfd2ac518333369a384d58882ff37d5288225f.zip
rhbz 560890: preserve -L/-l variable ordering
Switch to list<string> from set<string> for collecting available $var lists. Use O(N**2) list-uniqueifier that preserves initial ordering.
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elaborate.h b/elaborate.h
index 30a02c5b..0a1549fb 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -17,6 +17,7 @@
#include <iosfwd>
#include <sstream>
#include <map>
+#include <list>
extern "C" {
#include <elfutils/libdw.h>
@@ -129,7 +130,7 @@ struct derived_probe: public probe
virtual probe_point* sole_location () const;
virtual void printsig (std::ostream &o) const;
// return arguments of probe if there
- virtual void getargs (std::set<std::string> &arg_set) const {}
+ virtual void getargs (std::list<std::string> &arg_set) const {}
void printsig_nested (std::ostream &o) const;
virtual void collect_derivation_chain (std::vector<probe*> &probes_list);