summaryrefslogtreecommitdiff
path: root/kernel/trace/trace.c
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 /kernel/trace/trace.c
parent4823ed7eadf35e4b57ce581327e21d39585f1f32 (diff)
ftrace: trace faster
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.c')
-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,
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);