Skip to content

Commit b8381ce

Browse files
mhiramatrostedt
authored andcommitted
Documentation: tracing: Fix typos in boot-time tracing documentation
Fix typos in boottime-trace.rst according to Randy's suggestions. Link: http://lkml.kernel.org/r/157949060335.25888.13153184562531693684.stgit@devnote2 Suggested-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent a4798eb commit b8381ce

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎Documentation/trace/boottime-trace.rst‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Boot-time tracing allows users to trace boot-time process including
1313
device initialization with full features of ftrace including per-event
1414
filter and actions, histograms, kprobe-events and synthetic-events,
1515
and trace instances.
16-
Since kernel cmdline is not enough to control these complex features,
16+
Since kernel command line is not enough to control these complex features,
1717
this uses bootconfig file to describe tracing feature programming.
1818

1919
Options in the Boot Config
2020
==========================
2121

2222
Here is the list of available options list for boot time tracing in
2323
boot config file [1]_. All options are under "ftrace." or "kernel."
24-
refix. See kernel parameters for the options which starts
24+
prefix. See kernel parameters for the options which starts
2525
with "kernel." prefix [2]_.
2626

2727
.. [1] See :ref:`Documentation/admin-guide/bootconfig.rst <bootconfig>`
@@ -50,7 +50,7 @@ kernel.fgraph_filters = FILTER[, FILTER2...]
5050
Add fgraph tracing function filters.
5151

5252
kernel.fgraph_notraces = FILTER[, FILTER2...]
53-
Add fgraph non tracing function filters.
53+
Add fgraph non-tracing function filters.
5454

5555

5656
Ftrace Per-instance Options
@@ -81,10 +81,10 @@ ftrace.[instance.INSTANCE.]tracer = TRACER
8181
Set TRACER to current tracer on boot. (e.g. function)
8282

8383
ftrace.[instance.INSTANCE.]ftrace.filters
84-
This will take an array of tracing function filter rules
84+
This will take an array of tracing function filter rules.
8585

8686
ftrace.[instance.INSTANCE.]ftrace.notraces
87-
This will take an array of NON-tracing function filter rules
87+
This will take an array of NON-tracing function filter rules.
8888

8989

9090
Ftrace Per-Event Options
@@ -93,7 +93,7 @@ Ftrace Per-Event Options
9393
These options are setting per-event options.
9494

9595
ftrace.[instance.INSTANCE.]event.GROUP.EVENT.enable
96-
Enables GROUP:EVENT tracing.
96+
Enable GROUP:EVENT tracing.
9797

9898
ftrace.[instance.INSTANCE.]event.GROUP.EVENT.filter = FILTER
9999
Set FILTER rule to the GROUP:EVENT.
@@ -145,10 +145,10 @@ below::
145145
}
146146
}
147147

148-
Also, boottime tracing supports "instance" node, which allows us to run
148+
Also, boot-time tracing supports "instance" node, which allows us to run
149149
several tracers for different purpose at once. For example, one tracer
150-
is for tracing functions start with "user\_", and others tracing "kernel\_"
151-
functions, you can write boot config as below::
150+
is for tracing functions starting with "user\_", and others tracing
151+
"kernel\_" functions, you can write boot config as below::
152152

153153
ftrace.instance {
154154
foo {

0 commit comments

Comments
 (0)