Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753157AbdF2UVp (ORCPT ); Thu, 29 Jun 2017 16:21:45 -0400 Received: from resqmta-po-08v.sys.comcast.net ([96.114.154.167]:43392 "EHLO resqmta-po-08v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751752AbdF2UVo (ORCPT ); Thu, 29 Jun 2017 16:21:44 -0400 Reply-To: shuah@kernel.org Subject: Re: [PATCH] selftests: ftrace: Use md5sum to take less time of checking logs To: Steven Rostedt Cc: Masami Hiramatsu , linux-kselftest@vger.kernel.org, Ingo Molnar , linux-kernel@vger.kernel.org, Shuah Khan , Shuah Khan References: <149855930170.10335.7114289594738299220.stgit@devbox> <20170628101728.5a41bed0@gandalf.local.home> <8f6497e7-8236-f0e0-0f51-87d691b9df8b@kernel.org> <20170628105923.6bdaa9a3@gandalf.local.home> <97100897-9bd4-11e0-79a5-faea8ba22a09@kernel.org> From: Shuah Khan Message-ID: Date: Thu, 29 Jun 2017 14:21:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <97100897-9bd4-11e0-79a5-faea8ba22a09@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfKMCNW8r0onB56mW1dj9EuY+WcaVbikbCBdr8RKfCIai2BPsE9Q/3nW2f0bEpDLCoUD38RWdGWSYZfrJpbWsLP+FjFv0KYAoBOTRn4+VbSiKAd15ZB0s sQsmUyg7TekH0NGeophpYcIfgr1FR+eTY9q04OJZyI+GOkeqXnWHD+Uzibox9Fo0v4I2H4BkPaeXGAIMjSh4sWXG3EwZwZ75dgisq13i9ddjamoyxL+Jj0X7 4vH6WBCtCK0HfstVtX8g6zNYxAajf5UsUx1S3WvtFqjf2adP4U7pCmy1KTmAykkkKlLAU7wMswNKOhim/dt4ak1DzDEDKUlZTFMmM5Q+kQ0TpjUqMc5sFDOX vjvaFTxW2fXjfY/UNWEl+v/M161oFg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 43 On 06/28/2017 09:30 AM, Shuah Khan wrote: > On 06/28/2017 08:59 AM, Steven Rostedt wrote: >> On Wed, 28 Jun 2017 08:30:24 -0600 >> Shuah Khan wrote: >> >>> On 06/28/2017 08:17 AM, Steven Rostedt wrote: >>>> On Tue, 27 Jun 2017 19:28:32 +0900 >>>> Masami Hiramatsu wrote: >>>> >>>>> Use md5sum so that it takes less time of checking >>>>> trace logs update. Since busybox tail/cat takes too >>>>> long time to read the trace log, this uses md5sum >>>>> to check whether trace log is updated or not. >>>> >>>> How much faster is md5sum? I can see this causing issues in other >>>> environments. >>>> >>>> -- Steve >>> >>> Sorry Steve. I pulled this into linux-ksefltest next. Are you concerned >>> about any specific environments? I can try this out and see if it is a >>> problem. >> >> Yes please. I should probably do some playing too. I would like to fix >> that test anyway, as it is one of the longer ones as I do a lot of >> "paranoid checks". That is, I may go overboard in testing if tracing is >> off or not, by checking to make sure its off using different tactics. >> > > Please let me know how your trials go. I have a few things I have to get > to before I get around to trying this patch. > > thanks, > -- Shuah Hi Steve/Masami, I tested this patch on my test system running 4.12-rc7 and didn't see any problems. I am going to leave this in the linux-kselftest next for 4.13-rc1. Please let me if you think I should drop it. thanks, -- Shuah