Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp538650ybj; Thu, 7 May 2020 01:36:33 -0700 (PDT) X-Google-Smtp-Source: APiQypL2odR/72NdiSBDGouX2QAkr18nfPdQJMis6w33EThJNhahN6X0+FYvQgG/gJChDPCX1ozM X-Received: by 2002:aa7:d783:: with SMTP id s3mr11090432edq.64.1588840593083; Thu, 07 May 2020 01:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588840593; cv=none; d=google.com; s=arc-20160816; b=mZ692r6P53T6dyYc9ld3SwV74EXeAH3DTAUSo+T5rtZVX/MhYI6hKCeKQS36yhjbHa TU2gciM8HW47aVYVFrN0Q0p3vVlul2GSQn0L+PxYfeg8YUzb7aM3fAI6XUhNqQJR/HTf 9mJqKDgqJ8IvWZiJKpzaxCyaPL00YT/AXKp7G3T1Wiok/tNAHrPOC+kW6L6pulfbTa6C Jci+GHmYHO08zPhTBNoSYTLMdX4GZPZovNZnd3PTZ8zik2lc02KRP62WRoZNH1qqXtQn HU3TlNE4E+BQyJWaVSL5rJ8A7plv6djwnTWCTzaZ4utvc15M/W968P7Lq5PQGPz6MQHu fGHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:ironport-sdr :ironport-sdr; bh=nZz+1fTj7cG1jQUWvFY9rSlrPrVfuzT+A9KvsfhV6pI=; b=ih7z6P/zORcO7Vdz0zld1RHnapL9mtm1TxGJcvgq3UWTa5rEkJjkN097GeHAE0jH/e JpKJVxf7b7PCrqUjYayQmWOJhjOavNzMOczkOWLhmH6/umpZRQg+5sFWQ7s2k1AkAka/ 2ux1snT/PBqjHzuePaMgoW938OAtdlODw2k9X/qXJVWHrUmlrp9nABWzyO8BwyR1d1qH d0JJkePzXCJUjIl19PzSLJX4A0CKxfzyjsHvFRcWdtAorON31r4YFA3Cvgks6NFdKAGu I21aNqhHDOfUe9dtcc/Q3yLEr/K5MamHuMLCjeDIHYp+PC1fGbG71WKH2cWg4Z5AZB3f FDjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si2529258eds.554.2020.05.07.01.36.09; Thu, 07 May 2020 01:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725949AbgEGIep (ORCPT + 99 others); Thu, 7 May 2020 04:34:45 -0400 Received: from mga17.intel.com ([192.55.52.151]:41693 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgEGIep (ORCPT ); Thu, 7 May 2020 04:34:45 -0400 IronPort-SDR: ZOjFHcneeW/zn0M6qGsWF9D8DM8rev6HmsSy4RYUIUpkv4gCqrrfd6AvKrMAecHqUuFGSNBXhf a80b5bye3NOQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 01:34:45 -0700 IronPort-SDR: hscRpsOvlqljYfPCs+fK73OGpi7d+Z0MWQPANUjIb5IS6GpAQvb1l8KFBauYozsXYX5Rz+VjVI A5113zLn5uUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,363,1583222400"; d="scan'208";a="296458146" Received: from linux.intel.com ([10.54.29.200]) by orsmga008.jf.intel.com with ESMTP; 07 May 2020 01:34:44 -0700 Received: from [10.249.225.10] (abudanko-mobl.ccr.corp.intel.com [10.249.225.10]) by linux.intel.com (Postfix) with ESMTP id D744F58048A; Thu, 7 May 2020 01:34:42 -0700 (PDT) Subject: Re: [PATCH v2 04/11] perf stat: extend -D,--delay option with -1 value To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , Andi Kleen , linux-kernel References: <20200506201227.GE9893@kernel.org> From: Alexey Budankov Organization: Intel Corp. Message-ID: <785b3ab2-6264-d21c-a49f-adaa626728b9@linux.intel.com> Date: Thu, 7 May 2020 11:34:41 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200506201227.GE9893@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06.05.2020 23:12, Arnaldo Carvalho de Melo wrote: > Em Wed, May 06, 2020 at 09:20:54PM +0300, Alexey Budankov escreveu: >> >> Extend -D,--delay option with -1 value to start monitoring with >> events disabled to be enabled later by enable command provided >> via control file descriptor. > >> Signed-off-by: Alexey Budankov >> --- >> tools/perf/builtin-stat.c | 18 ++++++++++++++---- >> tools/perf/util/evlist.h | 3 +++ >> tools/perf/util/stat.h | 2 +- > > You forgot to update tools/perf/Documentation/perf-stat.h Good catch. Addressed in v3. Thanks! ~Alexey