lkml.org 
[lkml]   [2015]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ftracetest: replace usleep by sleep
On Thu, 26 Mar 2015 02:50:50 +0000
Pádraig Brady <P@draigBrady.com> wrote:

> >> echo 'sched:sched_switch' > set_event
> >> -usleep 1
> >> +sleep 0.001
> >
> > We had patches out about this, because sleep 0.001 is not always
> > supported either.
>
> really?
> In that edge case you might:

It's not too much of an edge case, as it is busybox that has issue.

-- Steve

>
> sleep .001 || sleep 1
>
> Pádraig.



\
 
 \ /
  Last update: 2015-03-26 15:01    [W:0.207 / U:23.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site