diff options
author | ddomingo <ddomingo@redhat.com> | 2008-09-22 11:40:58 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2008-09-22 11:40:58 +1000 |
commit | 19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce (patch) | |
tree | 3aebdaa1ae2cc005a0050406541ed428b61b1d99 /main.cxx | |
parent | ca74563434b2877cd2d7e7e81dc3919483cca694 (diff) | |
parent | e8ea4501122483436cdeb0352d833ccefeda7d14 (diff) | |
download | systemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.tar.gz systemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.tar.xz systemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -108,6 +108,7 @@ 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 + << " -F load module and start probes, then detach" << endl << " -d OBJECT add unwind/symbol data for OBJECT file"; if (s.unwindsym_modules.size() == 0) clog << endl; @@ -363,6 +364,7 @@ main (int argc, char * const argv []) s.consult_symtab = false; s.ignore_vmlinux = false; s.ignore_dwarf = false; + s.load_only = false; const char* s_p = getenv ("SYSTEMTAP_TAPSET"); if (s_p != NULL) @@ -426,7 +428,7 @@ main (int argc, char * const argv []) { "ignore-dwarf", 0, &long_opt, LONG_OPT_IGNORE_DWARF }, { NULL, 0, NULL, 0 } }; - int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:m:kgPc:x:D:bs:uqwl:d:L:", + int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:m:kgPc:x:D:bs:uqwl:d:L:F", long_options, NULL); if (grc < 0) break; @@ -611,6 +613,10 @@ main (int argc, char * const argv []) have_script = true; break; + case 'F': + s.load_only = true; + break; + case 0: switch (long_opt) { |