Commit 2a1e03ca authored by Amir Livneh's avatar Amir Livneh Committed by Jonathan Corbet

doc: tracing: Fix a number of typos

Trivial fixes to spelling mistakes in ftrace.rst

v2: tripple -> triple
Signed-off-by: default avatarAmir Livneh <alivneh@fb.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent c284d428
...@@ -24,13 +24,13 @@ It can be used for debugging or analyzing latencies and ...@@ -24,13 +24,13 @@ It can be used for debugging or analyzing latencies and
performance issues that take place outside of user-space. performance issues that take place outside of user-space.
Although ftrace is typically considered the function tracer, it Although ftrace is typically considered the function tracer, it
is really a frame work of several assorted tracing utilities. is really a framework of several assorted tracing utilities.
There's latency tracing to examine what occurs between interrupts There's latency tracing to examine what occurs between interrupts
disabled and enabled, as well as for preemption and from a time disabled and enabled, as well as for preemption and from a time
a task is woken to the task is actually scheduled in. a task is woken to the task is actually scheduled in.
One of the most common uses of ftrace is the event tracing. One of the most common uses of ftrace is the event tracing.
Through out the kernel is hundreds of static event points that Throughout the kernel is hundreds of static event points that
can be enabled via the tracefs file system to see what is can be enabled via the tracefs file system to see what is
going on in certain parts of the kernel. going on in certain parts of the kernel.
...@@ -462,7 +462,7 @@ of ftrace. Here is a list of some of the key files: ...@@ -462,7 +462,7 @@ of ftrace. Here is a list of some of the key files:
mono_raw: mono_raw:
This is the raw monotonic clock (CLOCK_MONOTONIC_RAW) This is the raw monotonic clock (CLOCK_MONOTONIC_RAW)
which is montonic but is not subject to any rate adjustments which is monotonic but is not subject to any rate adjustments
and ticks at the same rate as the hardware clocksource. and ticks at the same rate as the hardware clocksource.
boot: boot:
...@@ -914,8 +914,8 @@ The above is mostly meaningful for kernel developers. ...@@ -914,8 +914,8 @@ The above is mostly meaningful for kernel developers.
current trace and the next trace. current trace and the next trace.
- '$' - greater than 1 second - '$' - greater than 1 second
- '@' - greater than 100 milisecond - '@' - greater than 100 millisecond
- '*' - greater than 10 milisecond - '*' - greater than 10 millisecond
- '#' - greater than 1000 microsecond - '#' - greater than 1000 microsecond
- '!' - greater than 100 microsecond - '!' - greater than 100 microsecond
- '+' - greater than 10 microsecond - '+' - greater than 10 microsecond
...@@ -2541,7 +2541,7 @@ At compile time every C file object is run through the ...@@ -2541,7 +2541,7 @@ At compile time every C file object is run through the
recordmcount program (located in the scripts directory). This recordmcount program (located in the scripts directory). This
program will parse the ELF headers in the C object to find all program will parse the ELF headers in the C object to find all
the locations in the .text section that call mcount. Starting the locations in the .text section that call mcount. Starting
with gcc verson 4.6, the -mfentry has been added for x86, which with gcc version 4.6, the -mfentry has been added for x86, which
calls "__fentry__" instead of "mcount". Which is called before calls "__fentry__" instead of "mcount". Which is called before
the creation of the stack frame. the creation of the stack frame.
...@@ -2978,7 +2978,7 @@ The following commands are supported: ...@@ -2978,7 +2978,7 @@ The following commands are supported:
When the function is hit, it will dump the contents of the ftrace When the function is hit, it will dump the contents of the ftrace
ring buffer to the console. This is useful if you need to debug ring buffer to the console. This is useful if you need to debug
something, and want to dump the trace when a certain function something, and want to dump the trace when a certain function
is hit. Perhaps its a function that is called before a tripple is hit. Perhaps it's a function that is called before a triple
fault happens and does not allow you to get a regular dump. fault happens and does not allow you to get a regular dump.
- cpudump: - cpudump:
......
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