Skip to content

Commit 8d4cdbd

Browse files
sysheaprostedt
authored andcommitted
tracing: Fix multiple typos in trace.c
Fix multiple typos in comments: "alse" -> "also" "enabed" -> "enabled" "instane" -> "instance" "outputing" -> "outputting" "seperated" -> "separated" Link: https://patch.msgid.link/20251121221835.28032-7-mhi@mailbox.org Signed-off-by: Maurice Hieronymus <mhi@mailbox.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 81354f6 commit 8d4cdbd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

kernel/trace/trace.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ cpumask_var_t __read_mostly tracing_buffer_mask;
125125
* If there is an oops (or kernel panic) and the ftrace_dump_on_oops
126126
* is set, then ftrace_dump is called. This will output the contents
127127
* of the ftrace buffers to the console. This is very useful for
128-
* capturing traces that lead to crashes and outputing it to a
128+
* capturing traces that lead to crashes and outputting it to a
129129
* serial console.
130130
*
131131
* It is default off, but you can enable it with either specifying
@@ -134,7 +134,7 @@ cpumask_var_t __read_mostly tracing_buffer_mask;
134134
* Set 1 if you want to dump buffers of all CPUs
135135
* Set 2 if you want to dump the buffer of the CPU that triggered oops
136136
* Set instance name if you want to dump the specific trace instance
137-
* Multiple instance dump is also supported, and instances are seperated
137+
* Multiple instance dump is also supported, and instances are separated
138138
* by commas.
139139
*/
140140
/* Set to string format zero to disable by default */
@@ -5278,7 +5278,7 @@ int set_tracer_flag(struct trace_array *tr, u64 mask, int enabled)
52785278
return -EINVAL;
52795279
/*
52805280
* An instance must always have it set.
5281-
* by default, that's the global_trace instane.
5281+
* by default, that's the global_trace instance.
52825282
*/
52835283
if (printk_trace == tr)
52845284
update_printk_trace(&global_trace);
@@ -7556,7 +7556,7 @@ char *trace_user_fault_read(struct trace_user_buf_info *tinfo,
75567556
migrate_disable();
75577557

75587558
/*
7559-
* Now preemption is being enabed and another task can come in
7559+
* Now preemption is being enabled and another task can come in
75607560
* and use the same buffer and corrupt our data.
75617561
*/
75627562
preempt_enable_notrace();
@@ -11331,7 +11331,7 @@ __init static void do_allocate_snapshot(const char *name)
1133111331
/*
1133211332
* When allocate_snapshot is set, the next call to
1133311333
* allocate_trace_buffers() (called by trace_array_get_by_name())
11334-
* will allocate the snapshot buffer. That will alse clear
11334+
* will allocate the snapshot buffer. That will also clear
1133511335
* this flag.
1133611336
*/
1133711337
allocate_snapshot = true;

0 commit comments

Comments
 (0)