Skip to content

Commit

Permalink
ftrace: trace faster
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ingo Molnar authored and Thomas Gleixner committed May 23, 2008
1 parent 4823ed7 commit 9fe068e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9fe068e

Please sign in to comment.