aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:21:02 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:57:15 -0400
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 49e16630628a..ca0d6ff74c11 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2417,8 +2417,8 @@ tracing_read_pipe(struct file *filp, char __user *ubuf,
2417 2417
2418 mutex_unlock(&trace_types_lock); 2418 mutex_unlock(&trace_types_lock);
2419 2419
2420 /* sleep for one second, and try again. */ 2420 /* sleep for 100 msecs, and try again. */
2421 schedule_timeout(HZ); 2421 schedule_timeout(HZ/10);
2422 2422
2423 mutex_lock(&trace_types_lock); 2423 mutex_lock(&trace_types_lock);
2424 2424