From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754111AbbC3Urr (ORCPT ); Mon, 30 Mar 2015 16:47:47 -0400 Received: from lists.s-osg.org ([54.187.51.154]:53437 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353AbbC3Urp (ORCPT ); Mon, 30 Mar 2015 16:47:45 -0400 Message-ID: <5519B66D.2080700@osg.samsung.com> Date: Mon, 30 Mar 2015 14:47:41 -0600 From: Shuah Khan Organization: Samsung Open Source Group User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Steven Rostedt CC: Namhyung Kim , LKML , Michael Ellerman , Dave Jones , Luis Henriques Subject: Re: [PATCH] ftracetest: Do not use usleep References: <1427329943-16896-1-git-send-email-namhyung@kernel.org> In-Reply-To: <1427329943-16896-1-git-send-email-namhyung@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/25/2015 06:32 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. But as we use 'cat trace | grep | wc -l' to read the events, > the command themselves already generate some events before reading the > trace file so no need to call [u]sleep explicitly. > > Reported-by: Michael Ellerman > Reported-by: Dave Jones > Reported-by: Luis Henriques > Tested-by: Michael Ellerman > Signed-off-by: Namhyung Kim > --- Hi Steve, I will pull this in for 4.1. Assume that is ok. Just confirming. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978