Commit 0ccc69ba authored by Adrian Hunter's avatar Adrian Hunter Committed by Arnaldo Carvalho de Melo

perf time-utils: Fix --time documentation

Correct some punctuation and spelling and correct the format to show
that the time resolution is nanoseconds not microseconds.
Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190604130017.31207-16-adrian.hunter@intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent b16bfeb3
...@@ -142,9 +142,9 @@ OPTIONS ...@@ -142,9 +142,9 @@ OPTIONS
perf diff --time 0%-10%,30%-40% perf diff --time 0%-10%,30%-40%
It also supports analyzing samples within a given time window It also supports analyzing samples within a given time window
<start>,<stop>. Times have the format seconds.microseconds. If 'start' <start>,<stop>. Times have the format seconds.nanoseconds. If 'start'
is not given (i.e., time string is ',x.y') then analysis starts at is not given (i.e. time string is ',x.y') then analysis starts at
the beginning of the file. If stop time is not given (i.e, time the beginning of the file. If stop time is not given (i.e. time
string is 'x.y,') then analysis goes to the end of the file. Time string is string is 'x.y,') then analysis goes to the end of the file. Time string is
'a1.b1,c1.d1:a2.b2,c2.d2'. Use ':' to separate timestamps for different 'a1.b1,c1.d1:a2.b2,c2.d2'. Use ':' to separate timestamps for different
perf.data files. perf.data files.
......
...@@ -412,12 +412,12 @@ OPTIONS ...@@ -412,12 +412,12 @@ OPTIONS
--time:: --time::
Only analyze samples within given time window: <start>,<stop>. Times Only analyze samples within given time window: <start>,<stop>. Times
have the format seconds.microseconds. If start is not given (i.e., time have the format seconds.nanoseconds. If start is not given (i.e. time
string is ',x.y') then analysis starts at the beginning of the file. If string is ',x.y') then analysis starts at the beginning of the file. If
stop time is not given (i.e, time string is 'x.y,') then analysis goes stop time is not given (i.e. time string is 'x.y,') then analysis goes
to end of file. to end of file.
Also support time percent with multiple time range. Time string is Also support time percent with multiple time ranges. Time string is
'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'.
For example: For example:
......
...@@ -361,12 +361,12 @@ include::itrace.txt[] ...@@ -361,12 +361,12 @@ include::itrace.txt[]
--time:: --time::
Only analyze samples within given time window: <start>,<stop>. Times Only analyze samples within given time window: <start>,<stop>. Times
have the format seconds.microseconds. If start is not given (i.e., time have the format seconds.nanoseconds. If start is not given (i.e. time
string is ',x.y') then analysis starts at the beginning of the file. If string is ',x.y') then analysis starts at the beginning of the file. If
stop time is not given (i.e, time string is 'x.y,') then analysis goes stop time is not given (i.e. time string is 'x.y,') then analysis goes
to end of file. to end of file.
Also support time percent with multipe time range. Time string is Also support time percent with multiple time ranges. Time string is
'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'.
For example: For example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment