Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp519108pxf; Thu, 18 Mar 2021 06:18:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx58VEef81ldlo1NRLhNTQSfjyKNkwK3IRXRP5yrFRen56qRKXoXhBWEx2My7S6W/t0CKnU X-Received: by 2002:a17:906:4a19:: with SMTP id w25mr40144167eju.180.1616073501698; Thu, 18 Mar 2021 06:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616073501; cv=none; d=google.com; s=arc-20160816; b=Vk2TXzqkVYatwR6h9CI495aVo5J6zcjDkkFYZC45iikzgiMEgVWNsZUkTSqGyroqcd MESqcta5BM5GSga+ICZyinuwNmZRbvy9tAF6bD697orcdQSl/6H9ODOnKQNgK2YK5M7n XMTsXZsBWUhs7JSmfIdFhvoQqos+xEQ+wTxVMuiWUHZgLGMYtSI+hIayNm6gZbHbwbZa OjoOs6V4BpEOagfPcfOlw0s5QLBL0pNi69BwWvAnDcqUmvqsdnjC1df00sHLha2BrueP Z1uqsV+FdXWMX8DQoU3743xPrBu7QlP4DU6+zKwo0vakKgmnGnE8bxjdZ0gTgctFT3Lp MDZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t3UD+pQ0QsFpc/KYiH2pcF1akIP21sUe29Jgwg7sPo8=; b=E8wxtrHVKiNdF4Z7muplfFDmw3juhdZ4Wn4O+fSq3C6dnxTkvxgBhfLRegiJ+lVyKW Du5URIqfEvh3ksSCWQiYcriGM+FDB8Rd4osJ2xW5qHNg60ikt6aI++Tl0N5ID3DT4MDA q1TbkbJe1P30r9CadSSTUW5Bdy8QQOoNGLKMvWpUSpCPAdeS0/XR/nFuF4nQkqS752Vy RlBeSJYUG4xDv/UW3L4kR2LWnsQc307+U6zaz4WI3GBdg0fMVY6rPEf6J5vmUlFijBhp Ww0CD/x1RCSbo/Nbfhzb9pGb/ibxVpBdUt1L87I+Hg+d+xSiBKGGhEIfuAxFDcXBeteG CElA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CT4KJ/2S"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si1606069edd.467.2021.03.18.06.17.57; Thu, 18 Mar 2021 06:18:21 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CT4KJ/2S"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbhCRNQU (ORCPT + 99 others); Thu, 18 Mar 2021 09:16:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:59328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhCRNQD (ORCPT ); Thu, 18 Mar 2021 09:16:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F253E64EBD; Thu, 18 Mar 2021 13:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616073363; bh=C/B1ZRpqStHnQqeimo2sxlW2jKXBlGaKxLvQVDQkiM0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CT4KJ/2SkOFDD0MzdDQttNFq3f9C1TEw7AGovXjUdOa0SfaMWlZWMl7YoY58rpj/0 RaX38caJC0BkeI0GhrNKkPqx4glLQQWfwllxlAWxDYVEFidwI83Ey3QQkasYJ89NMX W1R1B1OAWJBPzkOzzoWVfZyaUzOPQK+GsOk5zTaYBSEc8eoIJz6L5b2Sefo4fnqksP V6GHTHU4q65FCQx/ai2VAGqgioMpNw3qr2y/5QTXynUYxzthmxl5UDHhdsi76Tj6YI YpFhtxuonCOCrSLqFRo93LhxPhpXSOYNT6IywUa7lKvlEYH+7ESvpTT36pR5SXdbtl k92jISO+cSZfA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 3D56A40647; Thu, 18 Mar 2021 10:15:56 -0300 (-03) Date: Thu, 18 Mar 2021 10:15:56 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: Jin Yao , 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 Subject: Re: [PATCH v2] perf stat: Align CSV output for summary mode Message-ID: References: <20210317070205.10315-1-yao.jin@linux.intel.com> <20210317215142.GB1369306@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210317215142.GB1369306@tassilo.jf.intel.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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