diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 21:21:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 21:57:15 +0200 |
commit | 9fe068e92f6290e89e19adc521441661a1229f00 (patch) | |
tree | a5ef71dba5e26e84971310eac505b2b3e815b0cc /kernel/trace | |
parent | ftrace: fix setting of pos in read_pipe (diff) | |
download | linux-9fe068e92f6290e89e19adc521441661a1229f00.tar.xz linux-9fe068e92f6290e89e19adc521441661a1229f00.zip |
ftrace: trace faster
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.c | 4 |
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); |