summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2015-04-03 09:27:58 +0900
committerShuah Khan <shuahkh@osg.samsung.com>2015-04-03 09:16:32 -0600
commit2bfd4d1f8c2bee8b0b8832be0c38d3916713625f (patch)
tree163bd09a295e9ae04d02b36e8a1458261a1d95c4 /README
parent6886f41d885e1a0c0e95069e3c73d27eed89d8ed (diff)
ftracetest: Do not use usleep directly
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@ellerman.id.au> Reported-by: Dave Jones <davej@codemonkey.org.uk> Reported-by: Luis Henriques <luis.henriques@canonical.com> Suggested-by: Pádraig Brady <P@draigBrady.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions