Skip to content

Commit d429096

Browse files
sysheaprostedt
authored andcommitted
tracing: Fix multiple typos in trace_events.c
Fix multiple typos in comments: "appened" -> "appended" "paranthesis" -> "parenthesis" "parethesis" -> "parenthesis" "wont" -> "won't" Link: https://patch.msgid.link/20251121221835.28032-8-mhi@mailbox.org Signed-off-by: Maurice Hieronymus <mhi@mailbox.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 8d4cdbd commit d429096

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

kernel/trace/trace_events.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ static bool process_string(const char *fmt, int len, struct trace_event_call *ca
360360
/* Anything else, this isn't a function */
361361
break;
362362
}
363-
/* A function could be wrapped in parethesis, try the next one */
363+
/* A function could be wrapped in parenthesis, try the next one */
364364
s = r + 1;
365365
} while (s < e);
366366

@@ -567,7 +567,7 @@ static void test_event_printk(struct trace_event_call *call)
567567
* If start_arg is zero, then this is the start of the
568568
* first argument. The processing of the argument happens
569569
* when the end of the argument is found, as it needs to
570-
* handle paranthesis and such.
570+
* handle parenthesis and such.
571571
*/
572572
if (!start_arg) {
573573
start_arg = i;
@@ -785,7 +785,7 @@ static int __ftrace_event_enable_disable(struct trace_event_file *file,
785785
*
786786
* When soft_disable is not set but the soft_mode is,
787787
* we do nothing. Do not disable the tracepoint, otherwise
788-
* "soft enable"s (clearing the SOFT_DISABLED bit) wont work.
788+
* "soft enable"s (clearing the SOFT_DISABLED bit) won't work.
789789
*/
790790
if (soft_disable) {
791791
if (atomic_dec_return(&file->sm_ref) > 0)
@@ -1394,7 +1394,7 @@ int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set)
13941394
if (!tr)
13951395
return -ENOENT;
13961396

1397-
/* Modules events can be appened with :mod:<module> */
1397+
/* Modules events can be appended with :mod:<module> */
13981398
mod = strstr(buf, ":mod:");
13991399
if (mod) {
14001400
*mod = '\0';

0 commit comments

Comments
 (0)