]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ftrace: trace faster
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:21:02 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:57:15 +0000 (21:57 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c

index 49e16630628a014f3bc2cdffbbb30db2faa432df..ca0d6ff74c114a8f5a0a4a5b2751d9a6f0b7cee9 100644 (file)
@@ -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);