summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-03-20 13:38:29 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-03-20 13:38:29 -0400
commit04ae1b090781725631ba3477ff77721b012cdaba (patch)
tree36249f31536ce30c49f66a5afb70b9f3d9bb2ce4 /main.cxx
parentdc6e1d97c43aa173549ad00bb78d7ea86ec90c95 (diff)
downloadsystemtap-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.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index 6f4064a5..cdcae41a 100644
--- a/main.cxx
+++ b/main.cxx
@@ -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