diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-03-20 13:38:29 -0400 |
---|---|---|
committer | Masami Hiramatsu <mhiramat@redhat.com> | 2009-03-20 13:38:29 -0400 |
commit | 04ae1b090781725631ba3477ff77721b012cdaba (patch) | |
tree | 36249f31536ce30c49f66a5afb70b9f3d9bb2ce4 /main.cxx | |
parent | dc6e1d97c43aa173549ad00bb78d7ea86ec90c95 (diff) | |
download | systemtap-steved-04ae1b090781725631ba3477ff77721b012cdaba.tar.gz systemtap-steved-04ae1b090781725631ba3477ff77721b012cdaba.tar.xz systemtap-steved-04ae1b090781725631ba3477ff77721b012cdaba.zip |
PR9821: staprun supports subset of strftime.
Add strftime subset format support for output file name to systemtap.
This format will be evaluated when opening a new output file.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -108,7 +108,9 @@ 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 run as on-file flight recorder with -o." << endl |