[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <551EB118.201@osg.samsung.com>
Date: Fri, 03 Apr 2015 09:26:16 -0600
From: Shuah Khan <shuahkh@....samsung.com>
To: Namhyung Kim <namhyung@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>
CC: LKML <linux-kernel@...r.kernel.org>,
Pádraig Brady <P@...igBrady.com>,
Michael Ellerman <mpe@...erman.id.au>,
Dave Jones <davej@...emonkey.org.uk>,
Luis Henriques <luis.henriques@...onical.com>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Shuah Khan <shuahkh@....samsung.com>
Subject: Re: [PATCH v3] ftracetest: Do not use usleep directly
On 04/02/2015 06:27 PM, Namhyung Kim wrote:
> The usleep is only provided on distros from Redhat so running ftracetest
> on other distro resulted in failures due to the missing usleep.
>
> The reason of using [u]sleep in the test was to generate (scheduler)
> events. It can be done various ways like this:
>
> yield() { ping localhost -c 1 || sleep .001 || usleep 1 || sleep 1; }
>
> For more information to the history of this patch, please refer to:
>
> Link: http://lkml.kernel.org/r/1427329943-16896-1-git-send-email-namhyung@kernel.org
>
> Reported-by: Michael Ellerman <mpe@...erman.id.au>
> Reported-by: Dave Jones <davej@...emonkey.org.uk>
> Reported-by: Luis Henriques <luis.henriques@...onical.com>
> Suggested-by: Pádraig Brady <P@...igBrady.com>
> Acked-by: Steven Rostedt <rostedt@...dmis.org>
> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
> Signed-off-by: Namhyung Kim <namhyung@...nel.org>
> ---
Thanks for getting to this quickly. Applied it to
linux-kselftest next for 4.1
thanks,
-- Shuah
--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@....samsung.com | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists