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