diff mbox series

trace-cmd report: Document --nodate option

Message ID 20220308131354.52452ac1@gandalf.local.home (mailing list archive)
State Accepted
Commit 2f4a9ddb0fc7117e59505d33f95ad249ae6cd6bc
Headers show
Series trace-cmd report: Document --nodate option | expand

Commit Message

Steven Rostedt March 8, 2022, 6:13 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

The option --nodate was never documented nor was it even listed in the
trace-cmd report -h usage. Fix that.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 Documentation/trace-cmd/trace-cmd-report.1.txt | 3 +++
 tracecmd/trace-usage.c                         | 1 +
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/trace-cmd/trace-cmd-report.1.txt b/Documentation/trace-cmd/trace-cmd-report.1.txt
index 501994a456c8..18e1c5cd0700 100644
--- a/Documentation/trace-cmd/trace-cmd-report.1.txt
+++ b/Documentation/trace-cmd/trace-cmd-report.1.txt
@@ -309,6 +309,9 @@  OPTIONS
      Make sure no timestamp goes backwards, and if it does, print out a warning
      message of the fact.
 
+*--nodate*::
+     Ignore converting the timestamps to the date set by *trace-cmd record*(3) --date option.
+
 *--raw-ts*::
      Display raw timestamps, without any corrections.
 
diff --git a/tracecmd/trace-usage.c b/tracecmd/trace-usage.c
index ec0af46f0dd2..5e96ca44e9b3 100644
--- a/tracecmd/trace-usage.c
+++ b/tracecmd/trace-usage.c
@@ -244,6 +244,7 @@  static struct usage_help usage_help[] = {
 		"                     previous data file, in which case it becomes default\n"
 		"          --ts-diff Show the delta timestamp between events.\n"
 		"          --ts-check Check to make sure no time stamp on any CPU goes backwards.\n"
+		"          --nodate Ignore the --date processing of trace-cmd record.\n"
 		"          --raw-ts Display raw timestamps, without any corrections.\n"
 		"          --align-ts Display timestamps aligned to the first event.\n"
 		"          --verbose[=level] Set the desired log level\n"