From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9D8DC433DB for ; Fri, 5 Mar 2021 10:27:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A634D64F6A for ; Fri, 5 Mar 2021 10:27:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229793AbhCEK0l (ORCPT ); Fri, 5 Mar 2021 05:26:41 -0500 Received: from esa8.hc1455-7.c3s2.iphmx.com ([139.138.61.253]:18697 "EHLO esa8.hc1455-7.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbhCEK0P (ORCPT ); Fri, 5 Mar 2021 05:26:15 -0500 X-Greylist: delayed 429 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Mar 2021 05:26:15 EST IronPort-SDR: krv/S+CFAURZZwWR4NKucmyBBjBYj9sr2GZaukzSln510273MOw8KznX5a0jDucHTnKE8tCrn7 Kut1vOzngp3cGATtLVTnjbJ1fu67o7jho6SNVbmvxymsvZtBdAxIOxukDrGHMZ0a7ar0Jm/C0+ ouGarW05dpRih2kK8eg23RD5GXIIC/4R0gIKDdNCsXyVephvrrvxZLxpzPuHj1ss2eg8ia35HF qkoHNrgI2AOujvGmsPxRo6m+Kt/p3QQdpZSej9c8w+9rradc21Donf/jdem7p07hiaPgaI9aAI eNU= X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="9801819" X-IronPort-AV: E=Sophos;i="5.81,224,1610377200"; d="scan'208";a="9801819" Received: from unknown (HELO oym-r3.gw.nic.fujitsu.com) ([210.162.30.91]) by esa8.hc1455-7.c3s2.iphmx.com with ESMTP; 05 Mar 2021 19:19:04 +0900 Received: from oym-m1.gw.nic.fujitsu.com (oym-nat-oym-m1.gw.nic.fujitsu.com [192.168.87.58]) by oym-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id 99D0BEBA5A for ; Fri, 5 Mar 2021 19:19:03 +0900 (JST) Received: from oym-om4.fujitsu.com (oym-om4.o.css.fujitsu.com [10.85.58.164]) by oym-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id C214EB4E5A for ; Fri, 5 Mar 2021 19:19:02 +0900 (JST) Received: from pumpkin.openstacklocal (pumpkin.fct.css.fujitsu.com [10.130.70.189]) by oym-om4.fujitsu.com (Postfix) with ESMTP id 6768A40237059; Fri, 5 Mar 2021 19:19:02 +0900 (JST) From: Shunsuke Nakamura To: john.garry@huawei.com, will@kernel.org, mathieu.poirier@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 3/3] perf vendor events arm64: Add "_" to the event name, which starts with a number Date: Fri, 5 Mar 2021 19:18:41 +0900 Message-Id: <20210305101841.3133721-4-nakamura.shun@fujitsu.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> References: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../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." }, { -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07E91C433DB for ; Fri, 5 Mar 2021 10:22:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 851B764F5B for ; Fri, 5 Mar 2021 10:22:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 851B764F5B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fujitsu.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8urP7gWH71h1Sdgf/WuHZn+rFB3joGWkENZu8wxTIKs=; b=bazfmo1pY1zWXVDgLXzxg/f9P 08Y2iObpwpoR3zdhmvoWgAlX4I/qUNcQ55DMWr0Wu6gbd/7iaf+RrvajbQX6kJnwZsndMF66M910p 2wddOMrtNofOSW/pAvt7wEo7e4zQXqFhy3etaG2UD6vgTnEx9p8b3MeaEL1ZblKAy8mfsimzTtteN fx2V3p31AV4OgI75iDoikD8AUNT9rpuNPm8r0t8C8tHpl3m23jljvqJ4/3FJ/sbGSn50bprWF5bg5 sDr8GtlAM0Y23meJ5C3ptuwpVR1eE1JhJys+tceXxMGqTCVLOR7c9glJzrFU1Wal70jKPcyZyUPGw 7/WHpMBAQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lI7Z7-00EVxs-5U; Fri, 05 Mar 2021 10:20:14 +0000 Received: from esa1.hc1455-7.c3s2.iphmx.com ([207.54.90.47]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lI7Y1-00EVc5-9o for linux-arm-kernel@lists.infradead.org; Fri, 05 Mar 2021 10:19:09 +0000 IronPort-SDR: h9CEjgh2YMwm2Z2h52/HJXnFmEMWEEXH12LE1lArt11JRlMuV9irOX/MT8YnbeMsbrm3sImPN6 JvLVLkHQmKAxLd3vs42lU1F7rkughfFmFNYPdA+wdwKGcXEyjNZg8u1MQA7y58s4yRLwJ781O7 4+S3PISNcWRKaNEXPls+uyfjLNscEpOL8IDLtBjZGojxOb7ZORRNNE2Cv4CbJdHnBeQgowFZ7z pqvv9lgoABbjTPPa1TziX34yH6mzvI6XefDuWh2AERxuLi7RwfzMFN1XdcQFUsMWwfwX6DgyFc DsQ= X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="21791557" X-IronPort-AV: E=Sophos;i="5.81,224,1610377200"; d="scan'208";a="21791557" Received: from unknown (HELO oym-r2.gw.nic.fujitsu.com) ([210.162.30.90]) by esa1.hc1455-7.c3s2.iphmx.com with ESMTP; 05 Mar 2021 19:19:05 +0900 Received: from oym-m2.gw.nic.fujitsu.com (oym-nat-oym-m2.gw.nic.fujitsu.com [192.168.87.59]) by oym-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 97C5DE60A7 for ; Fri, 5 Mar 2021 19:19:03 +0900 (JST) Received: from oym-om4.fujitsu.com (oym-om4.o.css.fujitsu.com [10.85.58.164]) by oym-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id C22486E033 for ; Fri, 5 Mar 2021 19:19:02 +0900 (JST) Received: from pumpkin.openstacklocal (pumpkin.fct.css.fujitsu.com [10.130.70.189]) by oym-om4.fujitsu.com (Postfix) with ESMTP id 6768A40237059; Fri, 5 Mar 2021 19:19:02 +0900 (JST) From: Shunsuke Nakamura To: john.garry@huawei.com, will@kernel.org, mathieu.poirier@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 3/3] perf vendor events arm64: Add "_" to the event name, which starts with a number Date: Fri, 5 Mar 2021 19:18:41 +0900 Message-Id: <20210305101841.3133721-4-nakamura.shun@fujitsu.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> References: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_101907_813952_64115F81 X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- .../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." }, { -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel