Skip to content

Commit 760f8bc

Browse files
Colin Ian Kingrostedt
authored andcommitted
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/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 58a74a2 commit 760f8bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

samples/ftrace/ftrace-direct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
void my_direct_func(struct task_struct *p)
88
{
9-
trace_printk("wakeing up %s-%d\n", p->comm, p->pid);
9+
trace_printk("waking up %s-%d\n", p->comm, p->pid);
1010
}
1111

1212
extern void my_tramp(void *);

tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111
echo "Let the module run a little"
1212
sleep 1
1313

14-
grep -q "my_direct_func: wakeing up" trace
14+
grep -q "my_direct_func: waking up" trace
1515

1616
rmmod ftrace-direct
1717

tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fi
1616
echo "Let the module run a little"
1717
sleep 1
1818

19-
grep -q "my_direct_func: wakeing up" trace
19+
grep -q "my_direct_func: waking up" trace
2020

2121
rmmod ftrace-direct
2222

@@ -26,7 +26,7 @@ start_direct() {
2626
echo > trace
2727
modprobe ftrace-direct
2828
sleep 1
29-
grep -q "my_direct_func: wakeing up" trace
29+
grep -q "my_direct_func: waking up" trace
3030
}
3131

3232
stop_direct() {

0 commit comments

Comments
 (0)