aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:21:02 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 21:57:15 +0200
commit9fe068e92f6290e89e19adc521441661a1229f00 (patch)
treea5ef71dba5e26e84971310eac505b2b3e815b0cc
parent4823ed7eadf35e4b57ce581327e21d39585f1f32 (diff)
ftrace: trace faster
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/trace/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 49e16630628..ca0d6ff74c1 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);