ftrace: trace faster
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
4823ed7ead
commit
9fe068e92f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue