Re: [PATCH] ftracetest: replace usleep by sleep

From: Steven Rostedt
Date: Thu Mar 26 2015 - 09:42:34 EST


On Thu, 26 Mar 2015 02:50:50 +0000
PÃdraig Brady <P@xxxxxxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/