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",