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-04-28 14:01:50 -0400
commitbe1b875ec567a8947da5893c09ad71478a4b50a9 (patch)
tree4f34c1023a06fecd5e46d32ae86039806b0e3b82 /main.cxx
parentf98a02cee66ba983187058e3b09a0a712fbe2277 (diff)
downloadsystemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.tar.gz
systemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.tar.xz
systemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.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 4f8ddcf5..3d72f9e6 100644
--- a/main.cxx
+++ b/main.cxx
@@ -109,8 +109,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
@@ -398,7 +401,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':