tracing: fix typing mistake in hint message and comments
authorWenji Huang <wenji.huang@oracle.com>
Tue, 17 Feb 2009 06:10:02 +0000 (01:10 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 17 Feb 2009 17:38:24 +0000 (12:38 -0500)
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>
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_switch.c
kernel/trace/trace_sched_wakeup.c
kernel/trace/trace_selftest.c
kernel/trace/trace_stat.c
kernel/trace/trace_sysprof.c

index c6b442d88de886dfc4facd54c05429af14cc3b65..9e5ebd844158d8ba0e85af9fb1847a133e39a940 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * trace irqs off criticall timings
+ * trace irqs off critical timings
  *
  * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
  * Copyright (C) 2008 Ingo Molnar <mingo@redhat.com>
index 30e14fe8589605204f16d1fbc791db2bf206816e..82fbb5a2df894f5d902c2b231930c4f033a65422 100644 (file)
@@ -93,7 +93,7 @@ static int tracing_sched_register(void)
        ret = register_trace_sched_switch(probe_sched_switch);
        if (ret) {
                pr_info("sched trace: Couldn't activate tracepoint"
-                       " probe to kernel_sched_schedule\n");
+                       " probe to kernel_sched_switch\n");
                goto fail_deprobe_wake_new;
        }
 
index 96d716485898f2c1d994babda49597bb19e87c4f..276c51aaf3144d00427a1ea280e648db751fa717 100644 (file)
@@ -284,7 +284,7 @@ static void start_wakeup_tracer(struct trace_array *tr)
        ret = register_trace_sched_switch(probe_wakeup_sched_switch);
        if (ret) {
                pr_info("sched trace: Couldn't activate tracepoint"
-                       " probe to kernel_sched_schedule\n");
+                       " probe to kernel_sched_switch\n");
                goto fail_deprobe_wake_new;
        }
 
index c72e749bcbefc80701b7c5c7053cc454d18b5be8..01415f4edaa57c4508c6bd3acef4531120a04a02 100644 (file)
@@ -107,9 +107,9 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace,
        func();
 
        /*
-        * Some archs *cough*PowerPC*cough* add charachters to the
+        * Some archs *cough*PowerPC*cough* add characters to the
         * start of the function names. We simply put a '*' to
-        * accomodate them.
+        * accommodate them.
         */
        func_name = "*" STR(DYN_FTRACE_TEST_NAME);
 
index eae9cef3929169ba06fc78d33fafc707a29325b1..39310e3434ee589804459dba78fee0e451e59d26 100644 (file)
@@ -30,7 +30,7 @@ struct tracer_stat_session {
        struct dentry           *file;
 };
 
-/* All of the sessions currently in use. Each stat file embeed one session */
+/* All of the sessions currently in use. Each stat file embed one session */
 static LIST_HEAD(all_stat_sessions);
 static DEFINE_MUTEX(all_stat_sessions_mutex);
 
index 7c9a2d82a7d83702a1a0eaebd6d2b29fee66d6c3..c771af4e8f1a8b0a6d9e04e0b7a313e452cc3049 100644 (file)
@@ -327,5 +327,5 @@ void init_tracer_sysprof_debugfs(struct dentry *d_tracer)
                        d_tracer, NULL, &sysprof_sample_fops);
        if (entry)
                return;
-       pr_warning("Could not create debugfs 'dyn_ftrace_total_info' entry\n");
+       pr_warning("Could not create debugfs 'sysprof_sample_period' entry\n");
 }