From: Ingo Molnar Date: Mon, 12 May 2008 19:21:02 +0000 (+0200) Subject: ftrace: trace faster X-Git-Tag: v2.6.27-rc1~1102^2^2~1^2~38 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe068e92f6290e89e19adc521441661a1229f00;p=linux-2.6 ftrace: trace faster Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 49e1663062..ca0d6ff74c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2417,8 +2417,8 @@ tracing_read_pipe(struct file *filp, char __user *ubuf, mutex_unlock(&trace_types_lock); - /* sleep for one second, and try again. */ - schedule_timeout(HZ); + /* sleep for 100 msecs, and try again. */ + schedule_timeout(HZ/10); mutex_lock(&trace_types_lock);