Re: [PATCH] ftracetest: replace usleep by sleep

From: Namhyung Kim
Date: Wed Mar 25 2015 - 20:17:03 EST


Hi Steve,

On Wed, Mar 25, 2015 at 03:51:19PM -0400, Steven Rostedt wrote:
> On Wed, 25 Mar 2015 19:02:41 +0000
> Luis Henriques <luis.henriques@xxxxxxxxxxxxx> 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.

Right. I also forgot about the patch, sorry.

So what we really need is an (sched) event, and 'cat trace' itself
will generate one before reading the trace buffer.

I'll resend the patch soon.

Thanks,
Namhyung
--
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/