]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ftrace/selftests: Fix spelling mistake "wakeing" -> "waking"
authorColin Ian King <colin.king@canonical.com>
Fri, 15 Nov 2019 08:59:38 +0000 (08:59 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 15 Nov 2019 16:30:38 +0000 (11:30 -0500)
There is a spelling mistake in a trace_printk message. As well as in
the selftests that search for this string.

Link: http://lkml.kernel.org/r/20191115085938.38947-1-colin.king@canonical.com
Link: http://lkml.kernel.org/r/20191115090356.39572-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
samples/ftrace/ftrace-direct.c
tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc
tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc

index 1483f067b00042b6db5bc5d6cf4e153afaed497d..a2e3063bd306b829d0d7ef082e7fc2d6cb4d619e 100644 (file)
@@ -6,7 +6,7 @@
 
 void my_direct_func(struct task_struct *p)
 {
-       trace_printk("wakeing up %s-%d\n", p->comm, p->pid);
+       trace_printk("waking up %s-%d\n", p->comm, p->pid);
 }
 
 extern void my_tramp(void *);
index cbc7a30c2e0f8c80716deef45022babc48b272cc..d75a8695bc21bff7ca01b4d8a62bdc752081fdf2 100644 (file)
@@ -11,7 +11,7 @@ fi
 echo "Let the module run a little"
 sleep 1
 
-grep -q "my_direct_func: wakeing up" trace
+grep -q "my_direct_func: waking up" trace
 
 rmmod ftrace-direct
 
index 017a7409b1039560e98bab151d7881e1af2147a5..801ecb63e84cd9abdb8ee7adbdebf0bd7df23b2e 100644 (file)
@@ -16,7 +16,7 @@ fi
 echo "Let the module run a little"
 sleep 1
 
-grep -q "my_direct_func: wakeing up" trace
+grep -q "my_direct_func: waking up" trace
 
 rmmod ftrace-direct
 
@@ -26,7 +26,7 @@ start_direct() {
        echo > trace
        modprobe ftrace-direct
        sleep 1
-       grep -q "my_direct_func: wakeing up" trace
+       grep -q "my_direct_func: waking up" trace
 }
 
 stop_direct() {