diff options
author | Kim Phillips <kim.phillips@arm.com> | 2017-05-03 08:13:50 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@kernel.org> | 2017-05-04 08:59:53 -0400 |
commit | 1291927a490832a9bbd0158a5d3c05c25a3c7159 (patch) | |
tree | 2d2b55d9580453e5174ec3a229d780eb33a72c15 | |
parent | 12c1c2fd780a9a5581105fcb6f251466cf35af2a (diff) |
perf tools: Fix spelling mistakes
Mostly in the documentation.
Signed-off-by: Kim Phillips <kim.phillips@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170503131350.cebeecd8bd0f2968417626ab@arm.com
[ Fix spelling of "parameter" in one of the spell-checked lines ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/Documentation/perf-c2c.txt | 4 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 2 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 6 | ||||
-rw-r--r-- | tools/perf/Documentation/perf.data-file-format.txt | 4 | ||||
-rw-r--r-- | tools/perf/Documentation/tips.txt | 2 | ||||
-rw-r--r-- | tools/perf/util/event.h | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt index 2da07e51e119..822414235170 100644 --- a/tools/perf/Documentation/perf-c2c.txt +++ b/tools/perf/Documentation/perf-c2c.txt | |||
@@ -76,7 +76,7 @@ REPORT OPTIONS | |||
76 | 76 | ||
77 | -c:: | 77 | -c:: |
78 | --coalesce:: | 78 | --coalesce:: |
79 | Specify sorintg fields for single cacheline display. | 79 | Specify sorting fields for single cacheline display. |
80 | Following fields are available: tid,pid,iaddr,dso | 80 | Following fields are available: tid,pid,iaddr,dso |
81 | (see COALESCE) | 81 | (see COALESCE) |
82 | 82 | ||
@@ -106,7 +106,7 @@ REPORT OPTIONS | |||
106 | 106 | ||
107 | -d:: | 107 | -d:: |
108 | --display:: | 108 | --display:: |
109 | Siwtch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default. | 109 | Switch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default. |
110 | 110 | ||
111 | C2C RECORD | 111 | C2C RECORD |
112 | ---------- | 112 | ---------- |
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index ea3789d05e5e..b0e9e921d534 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -225,7 +225,7 @@ OPTIONS | |||
225 | the libunwind or libdw library) should be used instead. | 225 | the libunwind or libdw library) should be used instead. |
226 | Using the "lbr" method doesn't require any compiler options. It | 226 | Using the "lbr" method doesn't require any compiler options. It |
227 | will produce call graphs from the hardware LBR registers. The | 227 | will produce call graphs from the hardware LBR registers. The |
228 | main limition is that it is only available on new Intel | 228 | main limitation is that it is only available on new Intel |
229 | platforms, such as Haswell. It can only get user call chain. It | 229 | platforms, such as Haswell. It can only get user call chain. It |
230 | doesn't work with branch stack sampling at the same time. | 230 | doesn't work with branch stack sampling at the same time. |
231 | 231 | ||
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index 37a175914157..9fa84617181e 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -182,7 +182,7 @@ OPTIONS | |||
182 | --parent=<regex>:: | 182 | --parent=<regex>:: |
183 | A regex filter to identify parent. The parent is a caller of this | 183 | A regex filter to identify parent. The parent is a caller of this |
184 | function and searched through the callchain, thus it requires callchain | 184 | function and searched through the callchain, thus it requires callchain |
185 | information recorded. The pattern is in the exteneded regex format and | 185 | information recorded. The pattern is in the extended regex format and |
186 | defaults to "\^sys_|^do_page_fault", see '--sort parent'. | 186 | defaults to "\^sys_|^do_page_fault", see '--sort parent'. |
187 | 187 | ||
188 | -x:: | 188 | -x:: |
@@ -207,8 +207,8 @@ OPTIONS | |||
207 | -g:: | 207 | -g:: |
208 | --call-graph=<print_type,threshold[,print_limit],order,sort_key[,branch],value>:: | 208 | --call-graph=<print_type,threshold[,print_limit],order,sort_key[,branch],value>:: |
209 | Display call chains using type, min percent threshold, print limit, | 209 | Display call chains using type, min percent threshold, print limit, |
210 | call order, sort key, optional branch and value. Note that ordering of | 210 | call order, sort key, optional branch and value. Note that ordering |
211 | parameters is not fixed so any parement can be given in an arbitraty order. | 211 | is not fixed so any parameter can be given in an arbitrary order. |
212 | One exception is the print_limit which should be preceded by threshold. | 212 | One exception is the print_limit which should be preceded by threshold. |
213 | 213 | ||
214 | print_type can be either: | 214 | print_type can be either: |
diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt index fa2a9132f0a9..de8b39dda7b8 100644 --- a/tools/perf/Documentation/perf.data-file-format.txt +++ b/tools/perf/Documentation/perf.data-file-format.txt | |||
@@ -270,7 +270,7 @@ When the event stream contains multiple events each event is identified | |||
270 | by an ID. This can be either through the PERF_SAMPLE_ID or the | 270 | by an ID. This can be either through the PERF_SAMPLE_ID or the |
271 | PERF_SAMPLE_IDENTIFIER header. The PERF_SAMPLE_IDENTIFIER header is | 271 | PERF_SAMPLE_IDENTIFIER header. The PERF_SAMPLE_IDENTIFIER header is |
272 | at a fixed offset from the event header, which allows reliable | 272 | at a fixed offset from the event header, which allows reliable |
273 | parsing of the header. Relying on ID may be ambigious. | 273 | parsing of the header. Relying on ID may be ambiguous. |
274 | IDENTIFIER is only supported by newer Linux kernels. | 274 | IDENTIFIER is only supported by newer Linux kernels. |
275 | 275 | ||
276 | Perf record specific events: | 276 | Perf record specific events: |
@@ -288,7 +288,7 @@ struct attr_event { | |||
288 | uint64_t id[]; | 288 | uint64_t id[]; |
289 | }; | 289 | }; |
290 | 290 | ||
291 | PERF_RECORD_HEADER_EVENT_TYPE = 65, /* depreceated */ | 291 | PERF_RECORD_HEADER_EVENT_TYPE = 65, /* deprecated */ |
292 | 292 | ||
293 | #define MAX_EVENT_NAME 64 | 293 | #define MAX_EVENT_NAME 64 |
294 | 294 | ||
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index 170b0289a7bc..db0ca3063eae 100644 --- a/tools/perf/Documentation/tips.txt +++ b/tools/perf/Documentation/tips.txt | |||
@@ -23,7 +23,7 @@ For memory address profiling, try: perf mem record / perf mem report | |||
23 | For tracepoint events, try: perf report -s trace_fields | 23 | For tracepoint events, try: perf report -s trace_fields |
24 | To record callchains for each sample: perf record -g | 24 | To record callchains for each sample: perf record -g |
25 | To record every process run by a user: perf record -u <user> | 25 | To record every process run by a user: perf record -u <user> |
26 | Skip collecing build-id when recording: perf record -B | 26 | Skip collecting build-id when recording: perf record -B |
27 | To change sampling frequency to 100 Hz: perf record -F 100 | 27 | To change sampling frequency to 100 Hz: perf record -F 100 |
28 | See assembly instructions with percentage: perf annotate <symbol> | 28 | See assembly instructions with percentage: perf annotate <symbol> |
29 | If you prefer Intel style assembly, try: perf annotate -M intel | 29 | If you prefer Intel style assembly, try: perf annotate -M intel |
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 27ac047490c3..7c3fa1c8cbcd 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -229,7 +229,7 @@ struct build_id_event { | |||
229 | enum perf_user_event_type { /* above any possible kernel type */ | 229 | enum perf_user_event_type { /* above any possible kernel type */ |
230 | PERF_RECORD_USER_TYPE_START = 64, | 230 | PERF_RECORD_USER_TYPE_START = 64, |
231 | PERF_RECORD_HEADER_ATTR = 64, | 231 | PERF_RECORD_HEADER_ATTR = 64, |
232 | PERF_RECORD_HEADER_EVENT_TYPE = 65, /* depreceated */ | 232 | PERF_RECORD_HEADER_EVENT_TYPE = 65, /* deprecated */ |
233 | PERF_RECORD_HEADER_TRACING_DATA = 66, | 233 | PERF_RECORD_HEADER_TRACING_DATA = 66, |
234 | PERF_RECORD_HEADER_BUILD_ID = 67, | 234 | PERF_RECORD_HEADER_BUILD_ID = 67, |
235 | PERF_RECORD_FINISHED_ROUND = 68, | 235 | PERF_RECORD_FINISHED_ROUND = 68, |