From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751691AbdJEIun (ORCPT ); Thu, 5 Oct 2017 04:50:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43838 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751418AbdJEIul (ORCPT ); Thu, 5 Oct 2017 04:50:41 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 75D1F780D2 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jolsa@redhat.com Date: Thu, 5 Oct 2017 10:50:37 +0200 From: Jiri Olsa To: Jin Yao Cc: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH v4 0/6] perf report/script: Support percent and multiple range in --time option Message-ID: <20171005085037.GA25339@krava> References: <1507040558-20344-1-git-send-email-yao.jin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507040558-20344-1-git-send-email-yao.jin@linux.intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 05 Oct 2017 08:50:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 03, 2017 at 10:22:32PM +0800, Jin Yao wrote: > v4: > --- > 1. Use perf script time style for timestamp printing. Also add with > the printing of sample duration. For example: > > perf report --header > > time of first sample : 5276531.323099 > time of last sample : 5276555.345625 > sample duration : 24022.526 ms > > 2. Fix an invalid time string issue. For example, > > perf script --time 10%/10x12321xsdfdasfdsafdsafdsa > > Now in code, it uses strtol to replace atoi. for the patchset: Acked-by: Jiri Olsa thanks, jirka