From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753788AbbCaBEu (ORCPT ); Mon, 30 Mar 2015 21:04:50 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.231]:40333 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753215AbbCaBEq (ORCPT ); Mon, 30 Mar 2015 21:04:46 -0400 Date: Mon, 30 Mar 2015 21:04:44 -0400 From: Steven Rostedt To: Namhyung Kim Cc: Shuah Khan , LKML , Michael Ellerman , Dave Jones , Luis Henriques Subject: Re: [PATCH] ftracetest: Do not use usleep Message-ID: <20150330210444.7cc5521c@grimm.local.home> In-Reply-To: <20150331004855.GF32033@sejong> References: <1427329943-16896-1-git-send-email-namhyung@kernel.org> <20150330171511.5722493b@gandalf.local.home> <20150331004855.GF32033@sejong> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Mar 2015 09:48:55 +0900 Namhyung Kim 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