Commit 4da6552c authored by Like Xu's avatar Like Xu Committed by Arnaldo Carvalho de Melo

perf doc: Fix typos all over the place

Considering that perf and its subcommands have so many parameters, the
documentation is always the first stop for perf beginners. Fixing some
spelling errors will relax the eyes of some readers a little bit.

 s/specicfication/specification/
 s/caheline/cacheline/
 s/tranasaction/transaction/
 s/complan/complain/
 s/sched_wakep/sched_wakeup/
 s/possble/possible/
 s/methology/methodology/
Signed-off-by: default avatarLike Xu <likexu@tencent.com>
Acked-by: default avatarIan Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210924081942.38368-1-likexu@tencent.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c6613bd4
...@@ -164,7 +164,7 @@ const char unwinding_data[n]: an array of unwinding data, consisting of the EH F ...@@ -164,7 +164,7 @@ const char unwinding_data[n]: an array of unwinding data, consisting of the EH F
The EH Frame header follows the Linux Standard Base (LSB) specification as described in the document at https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/ehframehdr.html The EH Frame header follows the Linux Standard Base (LSB) specification as described in the document at https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/ehframehdr.html
The EH Frame follows the LSB specicfication as described in the document at https://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/ehframechpt.html The EH Frame follows the LSB specification as described in the document at https://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/ehframechpt.html
NOTE: The mapped_size is generally either the same as unwind_data_size (if the unwinding data was mapped in memory by the running process) or zero (if the unwinding data is not mapped by the process). If the unwinding data was not mapped, then only the EH Frame Header will be read, which can be used to specify FP based unwinding for a function which does not have unwinding information. NOTE: The mapped_size is generally either the same as unwind_data_size (if the unwinding data was mapped in memory by the running process) or zero (if the unwinding data is not mapped by the process). If the unwinding data was not mapped, then only the EH Frame Header will be read, which can be used to specify FP based unwinding for a function which does not have unwinding information.
...@@ -261,7 +261,7 @@ COALESCE ...@@ -261,7 +261,7 @@ COALESCE
User can specify how to sort offsets for cacheline. User can specify how to sort offsets for cacheline.
Following fields are available and governs the final Following fields are available and governs the final
output fields set for caheline offsets output: output fields set for cacheline offsets output:
tid - coalesced by process TIDs tid - coalesced by process TIDs
pid - coalesced by process PIDs pid - coalesced by process PIDs
......
...@@ -883,7 +883,7 @@ and "r" can be combined to get calls and returns. ...@@ -883,7 +883,7 @@ and "r" can be combined to get calls and returns.
"Transactions" events correspond to the start or end of transactions. The "Transactions" events correspond to the start or end of transactions. The
'flags' field can be used in perf script to determine whether the event is a 'flags' field can be used in perf script to determine whether the event is a
tranasaction start, commit or abort. transaction start, commit or abort.
Note that "instructions", "branches" and "transactions" events depend on code Note that "instructions", "branches" and "transactions" events depend on code
flow packets which can be disabled by using the config term "branch=0". Refer flow packets which can be disabled by using the config term "branch=0". Refer
......
...@@ -44,7 +44,7 @@ COMMON OPTIONS ...@@ -44,7 +44,7 @@ COMMON OPTIONS
-f:: -f::
--force:: --force::
Don't complan, do it. Don't complain, do it.
REPORT OPTIONS REPORT OPTIONS
-------------- --------------
......
...@@ -54,7 +54,7 @@ all sched_wakeup events in the system: ...@@ -54,7 +54,7 @@ all sched_wakeup events in the system:
Traces meant to be processed using a script should be recorded with Traces meant to be processed using a script should be recorded with
the above option: -a to enable system-wide collection. the above option: -a to enable system-wide collection.
The format file for the sched_wakep event defines the following fields The format file for the sched_wakeup event defines the following fields
(see /sys/kernel/debug/tracing/events/sched/sched_wakeup/format): (see /sys/kernel/debug/tracing/events/sched/sched_wakeup/format):
---- ----
......
...@@ -448,7 +448,7 @@ all sched_wakeup events in the system: ...@@ -448,7 +448,7 @@ all sched_wakeup events in the system:
Traces meant to be processed using a script should be recorded with Traces meant to be processed using a script should be recorded with
the above option: -a to enable system-wide collection. the above option: -a to enable system-wide collection.
The format file for the sched_wakep event defines the following fields The format file for the sched_wakeup event defines the following fields
(see /sys/kernel/debug/tracing/events/sched/sched_wakeup/format): (see /sys/kernel/debug/tracing/events/sched/sched_wakeup/format):
---- ----
......
...@@ -385,7 +385,7 @@ Aggregate counts per physical processor for system-wide mode measurements. ...@@ -385,7 +385,7 @@ Aggregate counts per physical processor for system-wide mode measurements.
Print metrics or metricgroups specified in a comma separated list. Print metrics or metricgroups specified in a comma separated list.
For a group all metrics from the group are added. For a group all metrics from the group are added.
The events from the metrics are automatically measured. The events from the metrics are automatically measured.
See perf list output for the possble metrics and metricgroups. See perf list output for the possible metrics and metricgroups.
-A:: -A::
--no-aggr:: --no-aggr::
......
...@@ -2,7 +2,7 @@ Using TopDown metrics in user space ...@@ -2,7 +2,7 @@ Using TopDown metrics in user space
----------------------------------- -----------------------------------
Intel CPUs (since Sandy Bridge and Silvermont) support a TopDown Intel CPUs (since Sandy Bridge and Silvermont) support a TopDown
methology to break down CPU pipeline execution into 4 bottlenecks: methodology to break down CPU pipeline execution into 4 bottlenecks:
frontend bound, backend bound, bad speculation, retiring. frontend bound, backend bound, bad speculation, retiring.
For more details on Topdown see [1][5] For more details on Topdown see [1][5]
......
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