aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_selftest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
index 82db9103b9bc..5ebd4b135498 100644
--- a/kernel/trace/trace_selftest.c
+++ b/kernel/trace/trace_selftest.c
@@ -498,6 +498,9 @@ trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr)
498 498
499 wake_up_process(p); 499 wake_up_process(p);
500 500
501 /* give a little time to let the thread wake up */
502 msleep(100);
503
501 /* stop the tracing. */ 504 /* stop the tracing. */
502 tr->ctrl = 0; 505 tr->ctrl = 0;
503 trace->ctrl_update(tr); 506 trace->ctrl_update(tr);