]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf time-utils: Fix --time documentation
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Jun 2019 13:00:13 +0000 (16:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jun 2019 19:20:12 +0000 (16:20 -0300)
Correct some punctuation and spelling and correct the format to show
that the time resolution is nanoseconds not microseconds.

Signed-off-by: Adrian 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.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-diff.txt
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-script.txt

index da7809b15cc9326e121c897f0e4717e323722be6..5732f69580ab9a15c84d50df38a4d3f4528a64b2 100644 (file)
@@ -142,9 +142,9 @@ OPTIONS
          perf diff --time 0%-10%,30%-40%
 
        It also supports analyzing samples within a given time window
          perf diff --time 0%-10%,30%-40%
 
        It also supports analyzing samples within a given time window
-       <start>,<stop>. Times have the format seconds.microseconds. If 'start'
-       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
+       <start>,<stop>. Times 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 stop time is not given (i.e. time
        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
        perf.data files.
        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
        perf.data files.
index f441baa794ce826eff34b24d07796847c4a65127..3de029f6881d39af259b7b925fbdfbe49f89fa17 100644 (file)
@@ -412,12 +412,12 @@ OPTIONS
 
 --time::
        Only analyze samples within given time window: <start>,<stop>. Times
 
 --time::
        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,...'.
 
        For example:
        'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'.
 
        For example:
index c59fd52e9e9155f1825de0a80e8606f6f896e540..878349cce968dcc8d317607fc6b3cb403a5edeab 100644 (file)
@@ -361,12 +361,12 @@ include::itrace.txt[]
 
 --time::
        Only analyze samples within given time window: <start>,<stop>. Times
 
 --time::
        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,...'.
 
        For example:
        'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'.
 
        For example: