summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-09-22 11:40:58 +1000
committerddomingo <ddomingo@redhat.com>2008-09-22 11:40:58 +1000
commit19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce (patch)
tree3aebdaa1ae2cc005a0050406541ed428b61b1d99 /main.cxx
parentca74563434b2877cd2d7e7e81dc3919483cca694 (diff)
parente8ea4501122483436cdeb0352d833ccefeda7d14 (diff)
downloadsystemtap-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.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index 563e4b01..ce4572c1 100644
--- a/main.cxx
+++ b/main.cxx
@@ -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)
{