diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-04-28 14:01:50 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-04-28 14:01:50 -0400 |
commit | be1b875ec567a8947da5893c09ad71478a4b50a9 (patch) | |
tree | 4f34c1023a06fecd5e46d32ae86039806b0e3b82 /main.cxx | |
parent | f98a02cee66ba983187058e3b09a0a712fbe2277 (diff) | |
download | systemtap-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.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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': |