From patchwork Wed Sep 4 15:54:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 172934 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp115725ilq; Wed, 4 Sep 2019 08:57:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqytQ5CmIN07Gd5mmBwneKrhxJEbPc8KJhr7r4XZEZg/NzhCMUGFU4DxBVAPNzJwTF10CJiJ X-Received: by 2002:a17:90a:c384:: with SMTP id h4mr5735709pjt.47.1567612651505; Wed, 04 Sep 2019 08:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567612651; cv=none; d=google.com; s=arc-20160816; b=vdzB+vicJ+9TG6K3IW3+reQbpugHcnkaZlvm9zdQ6g1QmG9TiH6f/QZzo64LkA91BH 6awptGS5nS6U/i5F263InHRwWLxEIm70ky3hOnlsNw0fuT0qAh+Jcl/dmJxLTrITT6HT iQe4SYDvh8shCd11KXHEmD5iZtP1MWxFv0OKEsciZH4uBQOHOiLkEPxLvdhKVLRkWeYp N/MFRliesNlenN0yQ8oK/XzIKHEKUNZWQDGuZo2CdvJbbIvd/GqfpmR//Su+wF1BPicu jMGE3TfodHyVfn8KopAyTe9eVMuob/xJ27f0iH3Z/I8geTu18E73VTf/u59rGde60+lx pwDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=vCiISrBTCGtLlQudhBjHP1dDHO//NE6Enn2mD2grqlA=; b=iE7MGnB/B0OgTh03VaQ6Uu9TakTU+FlNxp93gziKlvzDWwUW53LJFM6/+7u0WJc5H9 C2NR2fbf7u5QbtLGNTsEatMX+Fc6h/GrAAzz1+3U+FOlN/Hfg3ds804K3ppWsdYUXDug f8JvfzmPS2CED+RzimazZGvxQ5WrEgQtdZ+5YN7lLR/GTdCJP7j7Bewnj+6zZtve9Too 6iT4A02AvYlEi98eH4dYETEuyi52qrkQUUX3i8DOKF7OVYXmzSsoxnMmQ9hoqtStmtwC WQ1Sma74Ak6AHfn53ZG2nZtkHXYHuho64RvbEKJHa51JelnlxZWM+xiGScISQKCHpYEF olyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si11737655plt.315.2019.09.04.08.57.31; Wed, 04 Sep 2019 08:57:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731503AbfIDP5V (ORCPT + 28 others); Wed, 4 Sep 2019 11:57:21 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6666 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730099AbfIDP5V (ORCPT ); Wed, 4 Sep 2019 11:57:21 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id EBA9669FD6A1B3ECFEBB; Wed, 4 Sep 2019 23:57:18 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 23:57:11 +0800 From: John Garry To: , , , , , CC: , , , , , John Garry Subject: [PATCH 1/4] perf jevents: Fix Hisi hip08 DDRC PMU eventname Date: Wed, 4 Sep 2019 23:54:41 +0800 Message-ID: <1567612484-195727-2-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1567612484-195727-1-git-send-email-john.garry@huawei.com> References: <1567612484-195727-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "EventName" for the DDRC precharge command event is incorrect, so fix it. Fixes: 57cc732479ba ("perf jevents: Add support for Hisi hip08 DDRC PMU aliasing") Signed-off-by: John Garry --- .../perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json index 0d1556fcdffe..99f4fc425564 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json @@ -15,7 +15,7 @@ }, { "EventCode": "0x04", - "EventName": "uncore_hisi_ddrc.flux_wr", + "EventName": "uncore_hisi_ddrc.pre_cmd", "BriefDescription": "DDRC precharge commands", "PublicDescription": "DDRC precharge commands", "Unit": "hisi_sccl,ddrc", From patchwork Wed Sep 4 15:54:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 172933 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp115628ilq; Wed, 4 Sep 2019 08:57:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqylXE5Vofvzwf7O9S8QoajvFIrKKdiqJCVXlM2li9zgHXSvA2biMN66x/qMD32E6hNlsE1U X-Received: by 2002:a17:90a:266c:: with SMTP id l99mr5735470pje.93.1567612647516; Wed, 04 Sep 2019 08:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567612647; cv=none; d=google.com; s=arc-20160816; b=SPSSELxf7b+R40LjsfCROx8jPwN2ekSwAokob7+t38h1VXjdCNAnVnt1bv97tuW9vW 1UfeAUfOvMIfoKrFX/Pgm31GkEkEU1AclI55r6WZeXZjfe6oN+dinFbu9QgrV4dU9vXH 0kx+h7YXFIZajQ9jGIzEnEF71SNS8wlpJt63JJE6YeoJCdxLBGQWl4O761oK5935rozS FIdwRGfQnB0T6G+EvcxOuU3XyT6mie9GIUW2o9v/wpW7fOT9TqTwxJcnzbjEyrCwVvRJ BpzYMWcF3rF9iOYjD8psab/XdW7Oqn1/6DfqFteH5DlnSzDYzGQPDH0xCh8IrnLIyr8S 7j0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=xf1U9xFjQtiZfJGwGpVvyZO9RyURehE2SFZahpUf9is=; b=SbspeqskMjULwdpekKxZPfXtMTF9qCvHTQNf+5wNz5d5hhfjLLAsCYGeYPoNsk44+F 3kT535Wa1hljBpBTktKyLnYL9HiS2qxPPW8rikW5R+aNXXG+LbFIvE3XWdkjxw08hnJS lnIo9KRN7O14URnnwvnSE0BDm0iOr4YlAUzeZWr6oAQj1dm7rP52dqHEoDgYwaCdNQB/ eoyme0Jr8HNPMM8Ggv4jRWeAzktJqTkTArlgzUKwVtMRCdWsupCApF1baTaruTVtJFeg plAR5Wy02+e374kpig6VZ0utbE1MVmnj3regq6SeG+18zrN77nCCK3o6dUGY9X5dMgk6 G2DA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u27si17871168pgn.231.2019.09.04.08.57.27; Wed, 04 Sep 2019 08:57:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731557AbfIDP50 (ORCPT + 28 others); Wed, 4 Sep 2019 11:57:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6667 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730355AbfIDP5Z (ORCPT ); Wed, 4 Sep 2019 11:57:25 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id F16B82703DC2392BF6E5; Wed, 4 Sep 2019 23:57:18 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 23:57:11 +0800 From: John Garry To: , , , , , CC: , , , , , John Garry Subject: [PATCH 2/4] perf jevents: Add some missing events for Hisi hip08 DDRC PMU Date: Wed, 4 Sep 2019 23:54:42 +0800 Message-ID: <1567612484-195727-3-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1567612484-195727-1-git-send-email-john.garry@huawei.com> References: <1567612484-195727-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add some more missing events. Signed-off-by: John Garry --- .../arch/arm64/hisilicon/hip08/uncore-ddrc.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.17.1 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json index 99f4fc425564..7da86942dae2 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json @@ -1,4 +1,18 @@ [ + { + "EventCode": "0x00", + "EventName": "uncore_hisi_ddrc.flux_wr", + "BriefDescription": "DDRC total write operations", + "PublicDescription": "DDRC total write operations", + "Unit": "hisi_sccl,ddrc", + }, + { + "EventCode": "0x01", + "EventName": "uncore_hisi_ddrc.flux_rd", + "BriefDescription": "DDRC total read operations", + "PublicDescription": "DDRC total read operations", + "Unit": "hisi_sccl,ddrc", + }, { "EventCode": "0x02", "EventName": "uncore_hisi_ddrc.flux_wcmd", From patchwork Wed Sep 4 15:54:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 172932 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp115594ilq; Wed, 4 Sep 2019 08:57:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbU35NxjjWLnODfa/8uoss+9XgbA26l565bRG3kJcP7OleGE3uYfyzS3K/1a3Tx0SnGHV4 X-Received: by 2002:a17:90a:b013:: with SMTP id x19mr5993769pjq.58.1567612645175; Wed, 04 Sep 2019 08:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567612645; cv=none; d=google.com; s=arc-20160816; b=K51dsjYTokTVgCiT8197kVVFJSb7ftiDcMuuznnzPq8gxZdzD9PIl97QHrm+KTJvD7 aDVrWJ5Enbe5mLDZyMA349iDdYeNb8b49CI+eOh2v/lYLdQYqetX4A5QVGmV3RDbJtkE Eg965lOWeZZG0UmJQLWIweqzgXyeCOW/UlVq6u1rEM0qyCeMrNcaCFf6mN0zsvsb3rxV Mlmc3/1YQWqRh4Y8MMpXuIQ/u6ygxaExhkHoieuGtTMKGAeKvko+1XXuNFUjvycQmuv5 CFRqwi8JgUEY2cKheG2/OcD0txr0A1vNp7sdVqBqW2xJZOx1CCsF7VpBkHqzS2ZAlNRi ARwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=JimxZXrJwxzS14M3pUVgtA0tzHRyUzNtO2YTJ9Ajs9o=; b=xXcaUabdv5rvlpfXLMMCOfadupFSubuc4Ofn+pTPrn19nwbreN2yH1XBJhh2aD6TJf 73kKYxqdyNgq/ItSF/hY3pvcNb3tIWCWld/sPlviAZfGx72z2g2pvubi+0x8xL8ZRS9L LuMlihL3DlC6kg3Ht6WTPtzUgNfd2mgvX9J1OwujKAXU+JVud04Qv3gsqX5+3u6p021K qFICG9QKecvygo7qhkJlk4El4/BOdU6vXRWWFg2Mre4TrT86TYXbRu+Dja6x3KknySNH zSSuWsFfdXvrS8ihBJCGwg60gK8d3ut3bkTqU7Ia01M1HgzvfVNMhmSU6QRj9U4S2zU8 klRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u27si17871168pgn.231.2019.09.04.08.57.24; Wed, 04 Sep 2019 08:57:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731548AbfIDP5Y (ORCPT + 28 others); Wed, 4 Sep 2019 11:57:24 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6665 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731376AbfIDP5X (ORCPT ); Wed, 4 Sep 2019 11:57:23 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D803441410D2DF4E2ED9; Wed, 4 Sep 2019 23:57:18 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 23:57:12 +0800 From: John Garry To: , , , , , CC: , , , , , John Garry Subject: [PATCH 3/4] perf jevents: Add some missing events for Hisi hip08 L3C PMU Date: Wed, 4 Sep 2019 23:54:43 +0800 Message-ID: <1567612484-195727-4-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1567612484-195727-1-git-send-email-john.garry@huawei.com> References: <1567612484-195727-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add some more missing events. Signed-off-by: John Garry --- .../arm64/hisilicon/hip08/uncore-l3c.json | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) -- 2.17.1 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-l3c.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-l3c.json index ca48747642e1..f463d0acfaef 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-l3c.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-l3c.json @@ -34,4 +34,60 @@ "PublicDescription": "l3c precharge commands", "Unit": "hisi_sccl,l3c", }, + { + "EventCode": "0x20", + "EventName": "uncore_hisi_l3c.rd_spipe", + "BriefDescription": "Count of the number of read lines that come from this cluster of CPU core in spipe", + "PublicDescription": "Count of the number of read lines that come from this cluster of CPU core in spipe", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x21", + "EventName": "uncore_hisi_l3c.wr_spipe", + "BriefDescription": "Count of the number of write lines that come from this cluster of CPU core in spipe", + "PublicDescription": "Count of the number of write lines that come from this cluster of CPU core in spipe", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x22", + "EventName": "uncore_hisi_l3c.rd_hit_spipe", + "BriefDescription": "Count of the number of read lines that hits in spipe of this L3C", + "PublicDescription": "Count of the number of read lines that hits in spipe of this L3C", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x23", + "EventName": "uncore_hisi_l3c.wr_hit_spipe", + "BriefDescription": "Count of the number of write lines that hits in spipe of this L3C", + "PublicDescription": "Count of the number of write lines that hits in spipe of this L3C", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x29", + "EventName": "uncore_hisi_l3c.back_invalid", + "BriefDescription": "Count of the number of L3C back invalid operations", + "PublicDescription": "Count of the number of L3C back invalid operations", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x40", + "EventName": "uncore_hisi_l3c.retry_cpu", + "BriefDescription": "Count of the number of retry that L3C suppresses the CPU operations", + "PublicDescription": "Count of the number of retry that L3C suppresses the CPU operations", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x41", + "EventName": "uncore_hisi_l3c.retry_ring", + "BriefDescription": "Count of the number of retry that L3C suppresses the ring operations", + "PublicDescription": "Count of the number of retry that L3C suppresses the ring operations", + "Unit": "hisi_sccl,l3c", + }, + { + "EventCode": "0x42", + "EventName": "uncore_hisi_l3c.prefetch_drop", + "BriefDescription": "Count of the number of prefetch drops from this L3C", + "PublicDescription": "Count of the number of prefetch drops from this L3C", + "Unit": "hisi_sccl,l3c", + }, ] From patchwork Wed Sep 4 15:54:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 172931 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp115562ilq; Wed, 4 Sep 2019 08:57:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2vaygJ8C2n5EfrfjMMMlurgo/ND7oau0bbQlko+AE6+eEjUUXg1euEjAkrUoA6yUSkdcV X-Received: by 2002:a65:448a:: with SMTP id l10mr35051195pgq.327.1567612643442; Wed, 04 Sep 2019 08:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567612643; cv=none; d=google.com; s=arc-20160816; b=w/rVTicR/HG5H7DbpMkk0NE1oEQ9wh57MBfPncHsT+7xSsvIIsYhCf2QITgWotzTYn uboKbWNYcywjTBaRAn97JkAgOIV60lmwnJYT4btk1Pgv20u+TNy3yNEsQ8bAzOyFXFmJ YfAXI0hbg347NLADtx+B9CAob5Ms2VqNXv5Q1BKhNLB6TgoW8Bpt2ET3gU8pJfeKL87h 4a/OMX7CxvZ3aNq9T28ftx7wvUxN8Jb3ZMB49vdjJyWzBiJ/si+vkCdMRypDuTfSdHOy MIsV/u56bJgoKf11DP/4/lrDU4nBwWV6lWKk0H53/AWOXqbmaMnr7TphPLetqlsJzRFe i9cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=8BiSFRq2iaS6lHd8LPOxenNyIVwaZqj5LmfxSbxN59A=; b=UA11bg425vZnoE2myOJz9/CD9UDxhoQ38vz9Hyy1AG0zUC14WlXrBKUaoHxFbtaVpx svEBgGh3hFvGDtS7qNl259F6h13KwYLMCczPbKZXk4W4dpnWl/mxv2bamnRb+/0IJHeh TTOjCVeHJs9QP9p2B3RtQyYJADWSR26hg7Shhhrty78I93Mlub3PVWfrLk/urVtdEsMc 9iCRIcI/K03g7ATGS6IaK76rp1FpWiyikotVk1eaohc8rQ+4nqrqq9FLIa9efNjN/HlQ PjOCpeF2HAN9yfMK4O/taolKO52dFiq8kPwnnBwFGOkF+Zp38OuMgLDKWc1bQYOXmZvv bQ3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u27si17871168pgn.231.2019.09.04.08.57.23; Wed, 04 Sep 2019 08:57:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731538AbfIDP5W (ORCPT + 28 others); Wed, 4 Sep 2019 11:57:22 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6664 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730355AbfIDP5V (ORCPT ); Wed, 4 Sep 2019 11:57:21 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DF4B2B991A52B475A137; Wed, 4 Sep 2019 23:57:18 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 23:57:12 +0800 From: John Garry To: , , , , , CC: , , , , , John Garry Subject: [PATCH 4/4] perf jevents: Add some missing events for Hisi hip08 HHA PMU Date: Wed, 4 Sep 2019 23:54:44 +0800 Message-ID: <1567612484-195727-5-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1567612484-195727-1-git-send-email-john.garry@huawei.com> References: <1567612484-195727-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add some more missing events. A trivial typo is also fixed. Signed-off-by: John Garry --- .../arm64/hisilicon/hip08/uncore-hha.json | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json index 447d3064de90..3be418a248ea 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json @@ -20,6 +20,13 @@ "PublicDescription": "The number of all operations received by the HHA from another SCCL in this socket", "Unit": "hisi_sccl,hha", }, + { + "EventCode": "0x03", + "EventName": "uncore_hisi_hha.rx_ccix", + "BriefDescription": "Count of the number of operations that HHA has received from CCIX", + "PublicDescription": "Count of the number of operations that HHA has received from CCIX", + "Unit": "hisi_sccl,hha", + }, { "EventCode": "0x1c", "EventName": "uncore_hisi_hha.rd_ddr_64b", @@ -29,7 +36,7 @@ }, { "EventCode": "0x1d", - "EventName": "uncore_hisi_hha.wr_dr_64b", + "EventName": "uncore_hisi_hha.wr_ddr_64b", "BriefDescription": "The number of write operations sent by HHA to DDRC which size is 64 bytes", "PublicDescription": "The number of write operations sent by HHA to DDRC which size is 64 bytes", "Unit": "hisi_sccl,hha", @@ -48,4 +55,18 @@ "PublicDescription": "The number of write operations sent by HHA to DDRC which size is 128 bytes", "Unit": "hisi_sccl,hha", }, + { + "EventCode": "0x20", + "EventName": "uncore_hisi_hha.spill_num", + "BriefDescription": "Count of the number of spill operations that the HHA has sent", + "PublicDescription": "Count of the number of spill operations that the HHA has sent", + "Unit": "hisi_sccl,hha", + }, + { + "EventCode": "0x21", + "EventName": "uncore_hisi_hha.spill_success", + "BriefDescription": "Count of the number of successful spill operations that the HHA has sent", + "PublicDescription": "Count of the number of successful spill operations that the HHA has sent", + "Unit": "hisi_sccl,hha", + }, ]