mirror of
https://github.com/torvalds/linux
synced 2024-09-24 05:17:36 +00:00
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 a new issue