Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1530926rwb; Fri, 5 Aug 2022 03:46:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6FGCpY4cX2CC9NNqLAV0QYZhQHFAngfUpcMkTB7YDFERLjU9Z+wH4nZSoXGU8QGq9+vB9H X-Received: by 2002:a05:6402:2989:b0:43e:91be:fd20 with SMTP id eq9-20020a056402298900b0043e91befd20mr6029356edb.109.1659696411839; Fri, 05 Aug 2022 03:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659696411; cv=none; d=google.com; s=arc-20160816; b=y9Q16J7tA/+yVC40LfPvazid8HSaPHI8de2Gb8YbHwjj0crmH/qLQak69Qcl/iDxYs FOSnTD6YwVshrEPMb2UIoHSl/DKE5MXHxUH0ViocQPIcODvHVCawV79CTy6caiFgpDaW KL2o5xP66BWaoDLLjOz8Iv/kDYLcFb9dv6KWoaXid4t2onfDlEdd32HtFSmDhI6i7PB2 PTbeU+Z8aB+7+ztLPI2vWx7qLF7L/esGtmVbwmhVPgbXbAcFpSR3splDP9XofscIAQ7M CHhSEhFCgNzTw1fa2qXAKpzm002NxHmw7EPnOHpqkhxCuvv2AwfvLIhmo7JMpubOMuUO /jmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=srD+8D4QSq2qz559xEJ/vh0zf7Do6dwQXAP08f8SEac=; b=CS6hEKODwBP6CKT/2PPxLzSaRMVKwKR5xtI+JfG5aKOD7AmCIZ05vEZ0zMPsXv5xAc biXZWtpnaH0cjtPy02Y3HXGvDKg1hTO61UEAzsE7BK4D6PWcS+o5om8bt+fn1tLe/zKT eqBe39DqFrMF5jEonJYWQxoPLs0JHw5EyCsyugIp1gtp7xUNI2G34KxYBTQS9cWPQpt+ iF8H5MD3Oy68m4Pa/Mffa1Vx5xSUr5BnJamWL9hoJWtJeTW8P0dNqhNppUKEAmiOwpFu vU+3NyZTYcFSUImq+/sPJDIuqMBObzDEsMVh8TCNLWjresA3DaWLZ+dIAw49bU59/i+o BQOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs19-20020a1709072d1300b0071578ad44a1si3795944ejc.986.2022.08.05.03.46.25; Fri, 05 Aug 2022 03:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240426AbiHEKfu (ORCPT + 99 others); Fri, 5 Aug 2022 06:35:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232901AbiHEKft (ORCPT ); Fri, 5 Aug 2022 06:35:49 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3A8415A2A; Fri, 5 Aug 2022 03:35:48 -0700 (PDT) Received: from fraeml734-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Lzhhz1PBGz67Zt3; Fri, 5 Aug 2022 18:31:31 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml734-chm.china.huawei.com (10.206.15.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 5 Aug 2022 12:35:47 +0200 Received: from [10.126.170.142] (10.126.170.142) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.24; Fri, 5 Aug 2022 11:35:45 +0100 Message-ID: <2bb3f72b-9349-9ad0-565f-dca3f51f8377@huawei.com> Date: Fri, 5 Aug 2022 11:35:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v4 05/17] perf jevents: Remove the type/version variables To: Ian Rogers , Will Deacon , "James Clark" , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , "Namhyung Kim" , Andi Kleen , Zhengjun Xing , Ravi Bangoria , "Kan Liang" , Adrian Hunter , , , CC: Stephane Eranian References: <20220804221816.1802790-1-irogers@google.com> <20220804221816.1802790-6-irogers@google.com> From: John Garry In-Reply-To: <20220804221816.1802790-6-irogers@google.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.126.170.142] X-ClientProxiedBy: lhreml704-chm.china.huawei.com (10.201.108.53) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/08/2022 23:18, Ian Rogers wrote: > pmu_events_map has a type variable that is always initialized to "core" > and a version variable that is never read. Remove these from the API as > it is straightforward to add them back when necessary. > it might be worth mentioning why we don't want the fields removed from the per-arch mapfile.csv > Signed-off-by: Ian Rogers Reviewed-by: John Garry