Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1113945pxf; Thu, 18 Mar 2021 22:00:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS609ASbGD/MUP7nYBHM54Q3XIj3DsSAIa3hAUiR91HpT5zPn/ShiPfqS0RkECmOKkTa6N X-Received: by 2002:a17:906:f891:: with SMTP id lg17mr2274934ejb.69.1616130003813; Thu, 18 Mar 2021 22:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616130003; cv=none; d=google.com; s=arc-20160816; b=jsDHZGM5XmJHg73AhDKNyRF1ouRv0HSXD4Ls5cYRx84Zu5Nbna2sC+NCQlODf09ZdH ZETHj53Lk5xT8ATE6nov96R0D8mmnOStkOB3xV6Mpy4q6y24y5rsf19FDC1R17hJPUv5 2Y87h/JBjaBVRgD71xa/kBswa56QrcbMy5I/Qa0ulntXMYS/iurbErwx1M2vRO1nGO/Z zX/QpwDt1zpQzTLi9uCJ462ViGP+oxn8N++AxtvplcJYZNMwGSGQVDju5CcO5RSlzUGE jNky2X8aKUOtf61GknWfDon2IcQwx5YWRJW5v/IC68Sj8fgKxAIw/hFsuP/cFbuWqY7Q wEuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=LEp4WqtkUEQER9YX247Fbdc3TGbb8gMqpVF6JbAdtlg=; b=yRdqsOTv2HrwcGHyfEdniMU+MnSs4/0lwbYfV2qiu+roAfs0DdTLMHt6J9SG7JV8bI MFCOfWKun+kZqRTuxn8H12QZR0muWpDMvG0Z7fw5/X+gnfxD4NHx4LE8FEmGop09fiCg wTEHpOe33tGFKVIy9u7JYpdWT7M5RDRYqY0bafA8eDVfl3Y0djzPfwC5Sp5/mjBrhuly N+rKdc6h8kalfbEgVmvfCFWsaHyFSlMzU0ZTOyuBow9aj4vgucV8Xz1S1kHFkw5JsJQh OwSsjZHTk5fl1Xzw4BhVjYddY+8nyqfYf9zXpMT0IS3/mV2TZXaYEeLAkT6DZRBef5pd CDLA== 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 gh5si3183613ejb.479.2021.03.18.21.59.41; Thu, 18 Mar 2021 22:00:03 -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 S233747AbhCSE5y (ORCPT + 99 others); Fri, 19 Mar 2021 00:57:54 -0400 Received: from mga14.intel.com ([192.55.52.115]:51209 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233743AbhCSE5V (ORCPT ); Fri, 19 Mar 2021 00:57:21 -0400 IronPort-SDR: wZSnQmT6vr012cPpKEXU8eND0R4ASXHu4ggBbwvoreCtlsA3VRllfxmPEtOfRoehMKL30I/urt eY1ffqi661sg== X-IronPort-AV: E=McAfee;i="6000,8403,9927"; a="189205800" X-IronPort-AV: E=Sophos;i="5.81,259,1610438400"; d="scan'208";a="189205800" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2021 21:57:20 -0700 IronPort-SDR: gqbUnVdsks8bVbgCUK4uiSDeHHRHXd8arwFrRI3rUsmqLHd+yd1ztIrYYGgQcBm9uEfYVVH/jZ XHySkAYbQalw== X-IronPort-AV: E=Sophos;i="5.81,259,1610438400"; d="scan'208";a="406643616" Received: from yjin15-mobl1.ccr.corp.intel.com (HELO [10.238.4.6]) ([10.238.4.6]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2021 21:57:18 -0700 Subject: Re: [PATCH v2] perf stat: Align CSV output for summary mode To: Arnaldo Carvalho de Melo , Andi Kleen Cc: jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, kan.liang@intel.com, yao.jin@intel.com References: <20210317070205.10315-1-yao.jin@linux.intel.com> <20210317215142.GB1369306@tassilo.jf.intel.com> From: "Jin, Yao" Message-ID: Date: Fri, 19 Mar 2021 12:57:16 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, On 3/18/2021 9:15 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Mar 17, 2021 at 02:51:42PM -0700, Andi Kleen escreveu: >>> If you care about not breaking existing scripts, then the output they >>> get with what they use as command line options must continue to produce >>> the same output. >> >> It's not clear there are any useful ones (except for tools that handle >> both). It's really hard to parse the previous mess. It's simply not >> valid CSV. >> >> That's why I'm arguing that keeping compatibility is not useful here. >> >> We would be stuck with the broken mess as default forever. > > Fair enough, lets fix the default then. Jin, can you please consider > adding a 'perf test' shell entry to parse the CSV mode with/without that > summary? This way we'll notice when the new normal gets broken. > > - Arnaldo > Thanks Arnaldo! I will post v3 with the perf test script. Thanks Jin Yao