]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: give time for wakeup test to run
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 30 Sep 2008 03:02:37 +0000 (23:02 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:53 +0000 (10:38 +0200)
commit573f088a0fb8e89b8a72eb1a21c2cd34c21971fc
tree8eb56cc1db2101f31b0215134503496d8a29f639
parentffe783eaa0c7f634b429abb7cda2a633610d551c
ftrace: give time for wakeup test to run

It is possible that the testing thread in the ftrace wakeup test does not
run before we stop the trace. This will cause the trace to fail since nothing
will be in the buffers.

This patch adds a small wait in the wakeup test to allow for the woken task
to run and be traced.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_selftest.c