From a8368458b976929634935d66202d27927e3c2ed9 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 24 Apr 2008 13:08:02 -0400 Subject: add module-name vector to session object, command line arguments --- main.cxx | 14 +++++++++++++- session.h | 3 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/main.cxx b/main.cxx index 58d7fa9f..45b154ac 100644 --- a/main.cxx +++ b/main.cxx @@ -106,6 +106,14 @@ usage (systemtap_session& s, int exitcode) << " -c CMD start the probes, run CMD, and exit when it finishes" << endl << " -x PID sets target() to PID" << endl + << " -d OBJECT add unwind/symbol data for OBJECT file"; + if (s.unwindsym_modules.size() == 0) + clog << endl; + else + clog << ", in addition to" << endl; + for (unsigned i=0; i unwindsym_modules; struct module_cache* module_cache; + std::set seen_errors; std::set seen_warnings; unsigned num_errors () { return seen_errors.size(); } -- cgit