Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1927423pxb; Fri, 5 Mar 2021 03:15:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuWz0lyFHwrLypSMb7yej7mlBvM/JnV9EQtafkaA7HVqRrcRA9HSb3gKy065yWiKnmauxm X-Received: by 2002:a17:906:229b:: with SMTP id p27mr1854503eja.287.1614942901003; Fri, 05 Mar 2021 03:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614942900; cv=none; d=google.com; s=arc-20160816; b=f/5IhEIS+d6QmlbcYVhncNQ9n8JmWfs3Ga6ZqEUIf4SoUh/jRe9qopqN9dGavXdKb/ YgsS8TKITrECQptzd2llZ8JOLqz7k0ShxpC53Xk/iWqEVfUY8F0bbP3x39VHCZoYoPDY tmo6yoBOsg7iiFPa6zebvPbePxWtXu8zyQCCarAIcAgygx508ZY9yfZTT0rn/wVni/zg +AbbsQjHNOCLm3XojA0fApuVEJSM0VMUL4RLtNLIxi3+pOaibsk0dAU+tctyMCAxSdbF gDO2J3I86L7Jb+YWdWT2gcWSuI2ScFJXj5Fk4JtO6e8WMl50h+/mpWCo0BNUKlG/2dWI xeOg== 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=Gi9MWDUiXctzUwLfAzSoLgrne4tkHoJ+MO9UfdGs/Eg=; b=jHlW6z+gzM3xWa8XGaWlG6wdxJ69qKa21rUic/bP4zplCXHXng4EPsZqqmvDnn/JB1 L3s+vZqEWy3iTVtkynfagSXD1IVvydCC+VsRl674rNPIiFGXXrDCLiqjV2uRL5vOWnEa kUibpHU6yCRLwtnr1o4XTcxnsPLaDU4AZevK4dhu5cR9bNnFrH7X+J4mUTuuV61VjA4M mNTZAeLXeNjvsC0rbLvpEvdBh7a2KiEkx7gn2rjmUaiJWYZpvtzHSt0AU3ne/4R07VWY 1SeqQc8I1WUWQUTFwjwGEEFwMDgLToZpRtsFj1oT9SowY6m9ZSs8DxnPIcJ7PCCwOkDb zLDQ== 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 y14si1233140ejw.723.2021.03.05.03.14.38; Fri, 05 Mar 2021 03:15:00 -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 S229558AbhCELLd (ORCPT + 99 others); Fri, 5 Mar 2021 06:11:33 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2622 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhCELLU (ORCPT ); Fri, 5 Mar 2021 06:11:20 -0500 Received: from fraeml710-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DsQ125bBNz67jwS; Fri, 5 Mar 2021 19:07:02 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml710-chm.china.huawei.com (10.206.15.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 5 Mar 2021 12:11:19 +0100 Received: from [10.47.8.182] (10.47.8.182) 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, 5 Mar 2021 11:11:17 +0000 Subject: Re: [PATCH v8 3/3] perf vendor events arm64: Add "_" to the event name, which starts with a number To: Shunsuke Nakamura , , , , , , , , , , CC: , References: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> <20210305101841.3133721-4-nakamura.shun@fujitsu.com> From: John Garry Message-ID: Date: Fri, 5 Mar 2021 11:09:20 +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: <20210305101841.3133721-4-nakamura.shun@fujitsu.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.8.182] X-ClientProxiedBy: lhreml713-chm.china.huawei.com (10.201.108.64) 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 05/03/2021 10:18, Shunsuke Nakamura wrote: > The perf parser does not support event names that start with a number. > This patch adds "_" to the event name, which starts with a number. > > Signed-off-by: Shunsuke Nakamura I think that this can be folded into patch 2/3, and my reveiwed-by tag still stands for patch 2/3. Thanks > --- > .../pmu-events/arch/arm64/fujitsu/a64fx/other.json | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json b/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json > index 68b8e46d6140..10c823ac26cc 100644 > --- a/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json > +++ b/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json > @@ -98,31 +98,31 @@ > { > "PublicDescription": "This event counts every cycle that no instruction was committed, but counts at the time when commits MOVPRFX only.", > "EventCode": "0x190", > - "EventName": "0INST_COMMIT", > + "EventName": "_0INST_COMMIT", > "BriefDescription": "This event counts every cycle that no instruction was committed, but counts at the time when commits MOVPRFX only." > }, > { > "PublicDescription": "This event counts every cycle that one instruction is committed.", > "EventCode": "0x191", > - "EventName": "1INST_COMMIT", > + "EventName": "_1INST_COMMIT", > "BriefDescription": "This event counts every cycle that one instruction is committed." > }, > { > "PublicDescription": "This event counts every cycle that two instructions are committed.", > "EventCode": "0x192", > - "EventName": "2INST_COMMIT", > + "EventName": "_2INST_COMMIT", > "BriefDescription": "This event counts every cycle that two instructions are committed." > }, > { > "PublicDescription": "This event counts every cycle that three instructions are committed.", > "EventCode": "0x193", > - "EventName": "3INST_COMMIT", > + "EventName": "_3INST_COMMIT", > "BriefDescription": "This event counts every cycle that three instructions are committed." > }, > { > "PublicDescription": "This event counts every cycle that four instructions are committed.", > "EventCode": "0x194", > - "EventName": "4INST_COMMIT", > + "EventName": "_4INST_COMMIT", > "BriefDescription": "This event counts every cycle that four instructions are committed." > }, > { >