summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-04-22 13:16:25 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-04-22 13:16:25 -0400
commit54f1da8faec0408630348f70d78fc0f8ca07f876 (patch)
treec04dd2833285e73b3da33747b6b3d138526ef777 /main.cxx
parenteee3e6dca7f1289ccb6795bc586fbda2dbe67188 (diff)
downloadsystemtap-steved-54f1da8faec0408630348f70d78fc0f8ca07f876.tar.gz
systemtap-steved-54f1da8faec0408630348f70d78fc0f8ca07f876.tar.xz
systemtap-steved-54f1da8faec0408630348f70d78fc0f8ca07f876.zip
PR 9821: Use genuine strftime in staprun/stapio
* Makefile.am: Add -fno-builtin-strftime to stapio_CFLAGS. * Makefile.in: Ditto. * runtime/staprun/common.c (stap_strfloctime): Use strftime(3). (parse_args): Remove strftime format limitation message. * main.cxx (usage): Ditto. * stap.1.in: Ditto. * staprun.8.in: Ditto.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index 37c5b135..1111b316 100644
--- a/main.cxx
+++ b/main.cxx
@@ -109,8 +109,7 @@ usage (systemtap_session& s, int exitcode)
<< " -m MODULE set probe module name, instead of " << endl
<< " " << s.module_name << 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
+ << " strftime(3) formats 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