[for-next][PATCH 4/7] ftrace/selftests: Fix spelling mistake "wakeing" -> "waking"

From: Steven Rostedt
Date: Sun Nov 17 2019 - 17:13:25 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx
Link: http://lkml.kernel.org/r/20191115090356.39572-1-colin.king@xxxxxxxxxxxxx

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
---
samples/ftrace/ftrace-direct.c | 2 +-
tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc | 2 +-
tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/samples/ftrace/ftrace-direct.c b/samples/ftrace/ftrace-direct.c
index 1483f067b000..a2e3063bd306 100644
--- a/samples/ftrace/ftrace-direct.c
+++ b/samples/ftrace/ftrace-direct.c
@@ -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 *);
diff --git a/tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc b/tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc
index cbc7a30c2e0f..d75a8695bc21 100644
--- a/tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc
+++ b/tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc
@@ -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

diff --git a/tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc b/tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc
index 017a7409b103..801ecb63e84c 100644
--- a/tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc
+++ b/tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc
@@ -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() {
--
2.24.0