summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-28 14:01:50 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-23 17:41:39 -0400
commit1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5 (patch)
treeed0446ecc8e629ed398494b89cd964da612fcb4f /main.cxx
parenta8368458b976929634935d66202d27927e3c2ed9 (diff)
downloadsystemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.tar.gz
systemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.tar.xz
systemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.zip
populate sess.unwindsym_modules set from dwarf probes
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/main.cxx b/main.cxx
index 45b154ac..23ab3b2f 100644
--- a/main.cxx
+++ b/main.cxx
@@ -111,8 +111,11 @@ usage (systemtap_session& s, int exitcode)
clog << endl;
else
clog << ", in addition to" << endl;
- for (unsigned i=0; i<s.unwindsym_modules.size(); i++)
- clog << " " << s.unwindsym_modules[i] << endl;
+ {
+ vector<string> syms (s.unwindsym_modules.begin(), s.unwindsym_modules.end());
+ for (unsigned i=0; i<syms.size(); i++)
+ clog << " " << syms[i] << endl;
+ }
clog
<< " -t collect probe timing information" << endl
#ifdef HAVE_LIBSQLITE3
@@ -446,7 +449,7 @@ main (int argc, char * const argv [])
break;
case 'd':
- s.unwindsym_modules.push_back (string (optarg));
+ s.unwindsym_modules.insert (string (optarg));
break;
case 'e':