Re: [PATCH] ftracetest: Do not use usleep

From: Steven Rostedt
Date: Mon Mar 30 2015 - 21:04:59 EST


On Tue, 31 Mar 2015 09:48:55 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:


> I understand your point. But this is not just cat, it needs grep and
> wc also. So I think there should be scheduler event(s).
>

Yes, and cat opens 'trace', which will disable tracing, and if that
happens before grep and wc, then those events will not show up.

There was a time when these tests use to fail without adding something
to force a schedule, that's why I feel it's safe to add something.

-- Steve
--
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/