1
0
Fork 0

ftrace/selftests: Fix spelling mistake "wakeing" -> "waking"

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>
alistair/sunxi64-5.5-dsi
Colin Ian King 2019-11-15 08:59:38 +00:00 committed by Steven Rostedt (VMware)
parent 58a74a2925
commit 760f8bc7c8
3 changed files with 4 additions and 4 deletions

View 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 *);

View 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

View 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() {