diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-06-28 18:09:00 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-02 15:08:16 -0400 |
commit | 734ac47e23aee12e1c16a4dd52d7c1cb893eaf6c (patch) | |
tree | 1e895da433ec3fda438908089ea2f151c69e9799 /tools | |
parent | edd93a4076cf18ede423c167de6d6fb8e4211e7b (diff) |
perf tools: Fix typos / broken sentences
- Fix a typo in the man page
- Fix a tip that doesn't make any sense.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190628220900.13741-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 2 | ||||
-rw-r--r-- | tools/perf/Documentation/tips.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 8c4372819e11..987261d158d4 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -89,7 +89,7 @@ OPTIONS | |||
89 | - socket: processor socket number the task ran at the time of sample | 89 | - socket: processor socket number the task ran at the time of sample |
90 | - srcline: filename and line number executed at the time of sample. The | 90 | - srcline: filename and line number executed at the time of sample. The |
91 | DWARF debugging info must be provided. | 91 | DWARF debugging info must be provided. |
92 | - srcfile: file name of the source file of the same. Requires dwarf | 92 | - srcfile: file name of the source file of the samples. Requires dwarf |
93 | information. | 93 | information. |
94 | - weight: Event specific weight, e.g. memory latency or transaction | 94 | - weight: Event specific weight, e.g. memory latency or transaction |
95 | abort cost. This is the global weight. | 95 | abort cost. This is the global weight. |
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index 869965d629ce..825745a645c1 100644 --- a/tools/perf/Documentation/tips.txt +++ b/tools/perf/Documentation/tips.txt | |||
@@ -38,6 +38,6 @@ To report cacheline events from previous recording: perf c2c report | |||
38 | To browse sample contexts use perf report --sample 10 and select in context menu | 38 | To browse sample contexts use perf report --sample 10 and select in context menu |
39 | To separate samples by time use perf report --sort time,overhead,sym | 39 | To separate samples by time use perf report --sort time,overhead,sym |
40 | To set sample time separation other than 100ms with --sort time use --time-quantum | 40 | To set sample time separation other than 100ms with --sort time use --time-quantum |
41 | Add -I to perf report to sample register values visible in perf report context. | 41 | Add -I to perf record to sample register values, which will be visible in perf report sample context. |
42 | To show IPC for sampling periods use perf record -e '{cycles,instructions}:S' and then browse context | 42 | To show IPC for sampling periods use perf record -e '{cycles,instructions}:S' and then browse context |
43 | To show context switches in perf report sample context add --switch-events to perf record. | 43 | To show context switches in perf report sample context add --switch-events to perf record. |