Commit 760f8bc7 authored by Colin Ian King's avatar Colin Ian King Committed by Steven Rostedt (VMware)
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 58a74a29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *);
+1 −1
Original line number Diff line number Diff line
@@ -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

+2 −2
Original line number Diff line number Diff line
@@ -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() {