summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-11-15 08:59:38 +0000
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-15 11:30:38 -0500
commit760f8bc7c89c87bff9c01a8746e85dcc6e771ea8 (patch)
treeca392446b36d716e66fb8b04c95785ee6cc7d8ca
parent58a74a2925a5b4125dd4f4e728490b9642534c81 (diff)
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>
-rw-r--r--samples/ftrace/ftrace-direct.c2
-rw-r--r--tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc2
-rw-r--r--tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc4
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() {