From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752386AbbCZAQ7 (ORCPT ); Wed, 25 Mar 2015 20:16:59 -0400 Received: from LGEMRELSE6Q.lge.com ([156.147.1.121]:45969 "EHLO lgemrelse6q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752310AbbCZAQy (ORCPT ); Wed, 25 Mar 2015 20:16:54 -0400 X-Original-SENDERIP: 10.177.220.203 X-Original-MAILFROM: namhyung@kernel.org Date: Thu, 26 Mar 2015 09:10:23 +0900 From: Namhyung Kim To: Steven Rostedt Cc: Luis Henriques , Shuah Khan , linux-kernel@vger.kernel.org, Masami Hiramatsu Subject: Re: [PATCH] ftracetest: replace usleep by sleep Message-ID: <20150326001023.GA15929@sejong> References: <1427304994-1149-1-git-send-email-luis.henriques@canonical.com> <20150325145758.6466c7a1@gandalf.local.home> <20150325190241.GB11923@charon.olymp> <20150325155119.2c7562c2@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150325155119.2c7562c2@gandalf.local.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steve, On Wed, Mar 25, 2015 at 03:51:19PM -0400, Steven Rostedt wrote: > On Wed, 25 Mar 2015 19:02:41 +0000 > Luis Henriques wrote: > > > > Would a 'sleep 1' be acceptable? Do we care about the execution time? > > Yes we do. Thus we are thinking of doing some other command, or perhaps > nothing at all. But I think that's where we ended. Right. I also forgot about the patch, sorry. So what we really need is an (sched) event, and 'cat trace' itself will generate one before reading the trace buffer. I'll resend the patch soon. Thanks, Namhyung