Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1339339pxb; Fri, 26 Feb 2021 08:21:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfy91D34KRAXEno3jjC86oSV5oN7NZwm3d1xqu0jkYAULRd1Zcn0P+F7RQIvVYLDzoNKCV X-Received: by 2002:a05:6402:1283:: with SMTP id w3mr4226748edv.340.1614356482902; Fri, 26 Feb 2021 08:21:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614356482; cv=none; d=google.com; s=arc-20160816; b=DwdSK8sh+0YVgeVmpRhzYTGP7GsKgeMaVnna3CS1rxkjpQw4qMhM7xobs5GS0KizZt c1IJo+UJp5vBhIn+l43edsy68B1/iezUj2SCN8u3p/KLmrFIIXq5nZ1SJtch2iQepHrh SkSIh9mKn3fHYKpR5I0/17hL6RIemzRCXxVz+PJDqibHQGs3GnCBaqzF+g+uASx11N3P Ffk8UKiUiC+BfXnza86IELHQwBXreEwoIpWQQmB75g+ZwgvxnewKW4229XvppQP73JS2 25EsE/74MyPWbiBUmN1C6ZhXeXUaPQfhGsFIKQ6Yy6bE6jqcSkPR2mDyNifmquyKdP6h YKYg== 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; bh=T32xLoG+qhhsyoaZdoHWycCzWDLUw/j1JZDNudlG6l0=; b=cgoZbsbfqxghXBEP51DQJgWZd/RlR0akco5fzQR+TAutO09E9iOK5omRTJZ4lPFxbx LhflaV88tJp3qzx2tSbv8W3ASoGk/L5P39p7a9hsdM8iFELhXgQJKXVFCshGEChpLmOm DN99vnFPDLx81qlGTQoQDzTKMvgYCXYEh4ER+gOxNWx5dOC0TepxcuJjTw56WVTf3gNH S/yCV3albbJePiSTbVMOXfmQSUIBkZ1tZOolpk7C7ifm+jtmfCRvUzNFIMAjHhY8rHdD qi1R6bxGWLg8wIRaOLxrNLulz/no8yc/npLDPq7Y2FYshy5ZHdFG1txr/kSq2UG/jalX XHNA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du16si6311708ejc.388.2021.02.26.08.20.59; Fri, 26 Feb 2021 08:21:22 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbhBZQTJ (ORCPT + 99 others); Fri, 26 Feb 2021 11:19:09 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2609 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbhBZQTJ (ORCPT ); Fri, 26 Feb 2021 11:19:09 -0500 Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DnF764xS7z67sCn; Sat, 27 Feb 2021 00:12:50 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 26 Feb 2021 17:18:22 +0100 Received: from [10.47.0.216] (10.47.0.216) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 26 Feb 2021 16:18:21 +0000 Subject: Re: [PATCH] perf vendor events: Remove 'type' field from mapfiles To: Andi Kleen CC: , , , , , , , , , , , References: <1614344897-229717-1-git-send-email-john.garry@huawei.com> <20210226154737.GY472138@tassilo.jf.intel.com> From: John Garry Message-ID: Date: Fri, 26 Feb 2021 16:16:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20210226154737.GY472138@tassilo.jf.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.0.216] X-ClientProxiedBy: lhreml748-chm.china.huawei.com (10.201.108.198) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/02/2021 15:47, Andi Kleen wrote: > On Fri, Feb 26, 2021 at 09:08:17PM +0800, John Garry wrote: >> Included for each CPU entry in the per-arch mapfile.csv file is a 'type' >> field. > I don't like it because this will make the mapfile incompatible with > what download.01.org uses. We originally derived it from that. I assumed that it was this file: https://download.01.org/perfmon/mapfile.csv which already has a different format - extra columns - so figured that some handcrafting was already going on. Indeed 'type' is not always 'core' there. > > It would be ok if it fixed something serious, but as it seems to be > more cosmetic I don't think there's a good reason to devivate. > If you're against that, then ok; I suppose jevents handling could still be removed, but I'm not enthused. Thanks, John