Skip to content

Commit 73d8b8b

Browse files
Wenji HuangSteven Rostedt
authored andcommitted
tracing: fix typing mistake in hint message and comments
Impact: cleanup Fix incorrect hint message in code and typos in comments. Signed-off-by: Wenji Huang <wenji.huang@oracle.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
1 parent d2ef7c2 commit 73d8b8b

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎kernel/trace/trace_irqsoff.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* trace irqs off criticall timings
2+
* trace irqs off critical timings
33
*
44
* Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
55
* Copyright (C) 2008 Ingo Molnar <mingo@redhat.com>

‎kernel/trace/trace_sched_switch.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static int tracing_sched_register(void)
9393
ret = register_trace_sched_switch(probe_sched_switch);
9494
if (ret) {
9595
pr_info("sched trace: Couldn't activate tracepoint"
96-
" probe to kernel_sched_schedule\n");
96+
" probe to kernel_sched_switch\n");
9797
goto fail_deprobe_wake_new;
9898
}
9999

‎kernel/trace/trace_sched_wakeup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static void start_wakeup_tracer(struct trace_array *tr)
284284
ret = register_trace_sched_switch(probe_wakeup_sched_switch);
285285
if (ret) {
286286
pr_info("sched trace: Couldn't activate tracepoint"
287-
" probe to kernel_sched_schedule\n");
287+
" probe to kernel_sched_switch\n");
288288
goto fail_deprobe_wake_new;
289289
}
290290

‎kernel/trace/trace_selftest.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace,
107107
func();
108108

109109
/*
110-
* Some archs *cough*PowerPC*cough* add charachters to the
110+
* Some archs *cough*PowerPC*cough* add characters to the
111111
* start of the function names. We simply put a '*' to
112-
* accomodate them.
112+
* accommodate them.
113113
*/
114114
func_name = "*" STR(DYN_FTRACE_TEST_NAME);
115115

‎kernel/trace/trace_stat.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct tracer_stat_session {
3030
struct dentry *file;
3131
};
3232

33-
/* All of the sessions currently in use. Each stat file embeed one session */
33+
/* All of the sessions currently in use. Each stat file embed one session */
3434
static LIST_HEAD(all_stat_sessions);
3535
static DEFINE_MUTEX(all_stat_sessions_mutex);
3636

‎kernel/trace/trace_sysprof.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,5 @@ void init_tracer_sysprof_debugfs(struct dentry *d_tracer)
327327
d_tracer, NULL, &sysprof_sample_fops);
328328
if (entry)
329329
return;
330-
pr_warning("Could not create debugfs 'dyn_ftrace_total_info' entry\n");
330+
pr_warning("Could not create debugfs 'sysprof_sample_period' entry\n");
331331
}

0 commit comments

Comments
 (0)