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", + }, ]