Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp575581pxk; Wed, 2 Sep 2020 09:08:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyw2P+jmNklTp3fA0lTDtXQee2ztPfOfVZUXosqi3HdhlLs7yvTpDw83ddw8wVJVWfxXxZX X-Received: by 2002:a17:906:c1c3:: with SMTP id bw3mr718723ejb.516.1599062927553; Wed, 02 Sep 2020 09:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599062927; cv=none; d=google.com; s=arc-20160816; b=RNuM5DWMp4aCyWeNK3Wc4GgHX6WJIXqPLu6WEw4al/4tesiJk2aX3u5SbYH9usJyWV t16f5PTApyOlTfmYvcvKlSrUO1FZ2Zig+Amplt6ftkoM9uqxUDIurC62Y5viMhNohvzF INzMIuM6evKDgqyHYcEaGGkHuXVgiawhVRu1wZqxvkeprLsHJrV0vSsNouFvLcJ7XWV4 U2Fr7oqhgaIji2CuS+CoF2UGsUonySWuGzyu26Yw15+zlQcn3tQDJ0nIBFget3eVGFux Y3ER8aE+c6s8qi0KQaKf/JUcysAo0pKgJmdoAqqkF2anFv9ipkBHp+vquX7t33Rmp45K p5Yg== 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=+l6hvdeHrSNDYmha7ANvkhAzsUl9lbexJdHC7FWGXBg=; b=AetVTqYhZ+bt2I12TaaMnYZ6P0dCxC8gNf4b3AcjCPMCcrhZV14JrqUev+4/dX1fSA E2V3dbqyRQwhEZgf7nsD5humlh7lVy2Si1AbEG2AlBY6aRkOHRPJdBtNR994gm/PVw0G ajnnrds91KgDLdAr5qqslIqQAKct3ADNzF/5y4ppdJB8jPmPDfXa4uEMyICIY9I5Rh5b 7sbx9cAX0xF/DmU/z3AJOrzLeqHEIuM+ws4q8IsjW/U7jztd+qQHEXT8M2OZHVV6/wRu /ByRhyz/YA3UrSNySKeeB+lLvjV3hNv21hD4EPPXmKFdkYjqZiQKjfSJ9EigQl+oR4RS DaZg== 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 ay17si3013471ejb.345.2020.09.02.09.08.24; Wed, 02 Sep 2020 09:08:47 -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 S1727823AbgIBQHL (ORCPT + 99 others); Wed, 2 Sep 2020 12:07:11 -0400 Received: from mga11.intel.com ([192.55.52.93]:38102 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726882AbgIBQHK (ORCPT ); Wed, 2 Sep 2020 12:07:10 -0400 IronPort-SDR: KUPLMY5MtGIL55SFlArTlIWy47JKypOd66wmGcllGa8bYBnvyWyrDmYRW6AgIsLJsAq9T0RTLJ V5D9feM0wNrQ== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="154924114" X-IronPort-AV: E=Sophos;i="5.76,383,1592895600"; d="scan'208";a="154924114" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2020 09:06:53 -0700 IronPort-SDR: l8VrC5+C1S9Nq/aHxQrvNL9I/tMg67YLfqcvEZMDqI/tLYiRgiyChsii2coNEufLjEDBkyVYj7 STZHlJtnPT6w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,383,1592895600"; d="scan'208";a="315163057" Received: from linux.intel.com ([10.54.29.200]) by orsmga002.jf.intel.com with ESMTP; 02 Sep 2020 09:06:53 -0700 Received: from [10.249.227.213] (abudanko-mobl.ccr.corp.intel.com [10.249.227.213]) by linux.intel.com (Postfix) with ESMTP id 4234D58041C; Wed, 2 Sep 2020 09:06:52 -0700 (PDT) Subject: Re: [PATCH V2 1/6] perf tools: Consolidate --control option parsing into one function To: Adrian Hunter , Arnaldo Carvalho de Melo , Jiri Olsa Cc: Andi Kleen , Namhyung Kim , linux-kernel@vger.kernel.org References: <20200901093758.32293-1-adrian.hunter@intel.com> <20200901093758.32293-2-adrian.hunter@intel.com> From: Alexey Budankov Organization: Intel Corp. Message-ID: Date: Wed, 2 Sep 2020 19:06:51 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200901093758.32293-2-adrian.hunter@intel.com> 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 01.09.2020 12:37, Adrian Hunter wrote: > Consolidate --control option parsing into one function, in preparation for > adding FIFO file name options. > > Signed-off-by: Adrian Hunter > --- > tools/perf/builtin-record.c | 22 ++-------------------- > tools/perf/builtin-stat.c | 22 ++-------------------- > tools/perf/util/evlist.c | 24 ++++++++++++++++++++++++ > tools/perf/util/evlist.h | 1 + > 4 files changed, 29 insertions(+), 40 deletions(-) Acked-by: Alexei Budankov Regards, Alexei