diff options
author | Dave Brolley <brolley@redhat.com> | 2009-03-23 12:16:56 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-03-23 12:16:56 -0400 |
commit | d171a9ff5fda69cab247d2afd06ec5952941969e (patch) | |
tree | 3127f0a0babb18e62bbe17754462d1366de7a0ad /main.cxx | |
parent | c11e62bef0f85147c96aeb7d0a7f9fd69da51db6 (diff) | |
parent | d4db5608dbc31868a2041f20ea3f473eef3e61fd (diff) | |
download | systemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.tar.gz systemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.tar.xz systemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -108,10 +108,14 @@ usage (systemtap_session& s, int exitcode) << " " << s.kernel_build_tree << endl << " -m MODULE set probe module name, instead of " << endl << " " << s.module_name << endl - << " -o FILE send script output to file, instead of stdout" << endl + << " -o FILE send script output to file, instead of stdout. This supports" << endl + << " a subset of strftime(3) (%%,%C,%Y,%y,%m,%d,%e,%F,%H,%I,%j,%k," << endl + << " %l,%M,%S,%R,%T,%u,%w) for FILE." << endl << " -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 + << " -F run as on-file flight recorder with -o." << endl + << " run as on-memory flight recorder without -o." << endl + << " -S size[,n] set maximum of the size and the number of files." << endl << " -d OBJECT add unwind/symbol data for OBJECT file"; if (s.unwindsym_modules.size() == 0) clog << endl; @@ -447,7 +451,7 @@ main (int argc, char * const argv []) { "sign-module", 2, &long_opt, LONG_OPT_SIGN_MODULE }, { NULL, 0, NULL, 0 } }; - int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:m:kgPc:x:D:bs:uqwl:d:L:F", + int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:m:kgPc:x:D:bs:uqwl:d:L:FS:", long_options, NULL); if (grc < 0) break; @@ -631,6 +635,10 @@ main (int argc, char * const argv []) s.macros.push_back (string (optarg)); break; + case 'S': + s.size_option = string (optarg); + break; + case 'q': s.tapset_compile_coverage = true; break; |