Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-26 Thread Steven Rostedt
On Thu, 26 Mar 2015 02:50:50 + Pádraig Brady 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

Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Pádraig Brady
On 25/03/15 18:57, Steven Rostedt wrote: > On Wed, 25 Mar 2015 17:36:34 + > Luis Henriques wrote: > >> 'usleep' seems to be a distro-specific utility and may not be >> available: >> >> [5] event tracing - enable/disable with event level files [FAIL] >> execute: >> /home/miguel/linux/

Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Namhyung Kim
Hi Steve, On Wed, Mar 25, 2015 at 03:51:19PM -0400, Steven Rostedt wrote: > On Wed, 25 Mar 2015 19:02:41 + > Luis Henriques wrote: > > > > Would a 'sleep 1' be acceptable? Do we care about the execution time? > > Yes we do. Thus we are thinking of doing some other command, or perhaps > no

Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Steven Rostedt
On Wed, 25 Mar 2015 19:02:41 + Luis Henriques wrote: > Would a 'sleep 1' be acceptable? Do we care about the execution time? Yes we do. Thus we are thinking of doing some other command, or perhaps nothing at all. But I think that's where we ended. -- Steve -- To unsubscribe from this list

Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Luis Henriques
On Wed, Mar 25, 2015 at 02:57:58PM -0400, Steven Rostedt wrote: > On Wed, 25 Mar 2015 17:36:34 + > Luis Henriques wrote: > > > 'usleep' seems to be a distro-specific utility and may not be > > available: > > > > [5] event tracing - enable/disable with event level files [FAIL] > > exe

Re: [PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Steven Rostedt
On Wed, 25 Mar 2015 17:36:34 + Luis Henriques wrote: > 'usleep' seems to be a distro-specific utility and may not be > available: > > [5] event tracing - enable/disable with event level files [FAIL] > execute: > /home/miguel/linux/tools/testing/selftests/ftrace/test.d/event/event-en

[PATCH] ftracetest: replace usleep by sleep

2015-03-25 Thread Luis Henriques
'usleep' seems to be a distro-specific utility and may not be available: [5] event tracing - enable/disable with event level files [FAIL] execute: /home/miguel/linux/tools/testing/selftests/ftrace/test.d/event/event-enable.tc + . /home/miguel/linux/tools/testing/selftests/ftrace/test.d/