From patchwork Mon Oct 21 13:37:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 177083 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3435305ill; Mon, 21 Oct 2019 06:39:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyi+TGGxA4dET5UK9+rmV3q1lnH/V7OtuVCxidJEeUVB8sxxWjJhd5b+KOFKFQ59IS5O2ID X-Received: by 2002:a17:907:4150:: with SMTP id od24mr21754493ejb.135.1571665192703; Mon, 21 Oct 2019 06:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571665192; cv=none; d=google.com; s=arc-20160816; b=k4FgjSLk6lxhVROZlXNOqAEyndWlgJ95fHPUtnp9U2iQmMG/PjBOnkIbU7LRW26gk4 EJEcBzxP7yHIQCEjfbOm8csc/v732XjeoyCWNalnsIEhBnUR/4fmInHE1F9fgu5MRbPs IFfaBqLNotMRaaGSkG0ryO4cWK5opgkINQZVWxFYhsWufGuSqIwcmQfGNnzKthV21KfP CbDH++FGyHIykdOBZ6PPMsvSjNGflOWs0UfQk7I6Ftehmakr6m08JtJaioxNP4Yhx4iQ edzQHpXZv7vrQbFLb1eUhD5ZfGGwbeDJIHrHr1HrgQthExY2GFgT54Le8+tbjAdEjeHN 1fvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oKGOXXIgq5/+0KuMhux1U6YR5mtw527OBPID3+99ros=; b=IldSHS/TUcrb2y6cOscnrc3c6tO8BuiFyNmm/9cVO8pgrDFwzOiRQMibOYY4xeNPs3 cI0VcPnFnUmSXImIuY6VCvOz+0Mbzne+OHBfnGOSy5z4rnVn4JV37CQHT6Av/r8Tklpg m5xCWyaFjJV7aPOISJvXfx8uHjTry3tQIqDKkdVXiKV4SiHnLA7PDKnq/96nG4Jn19dg 74aDn8F/FDLNXACZOZvCR533caHbBfgkKl0Cg+rL0Jnjz9MsUD0k3tc1ci5uHip128ts e9D1dZfUVfbqSwgcdsy08jCwaHoUau2GYXahYU9tlI76mRGv50g2AYntTsRX/o8duCUn cusw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eK5kZcdV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si10046535edc.279.2019.10.21.06.39.52; Mon, 21 Oct 2019 06:39:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eK5kZcdV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729344AbfJUNjv (ORCPT + 26 others); Mon, 21 Oct 2019 09:39:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:41416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727152AbfJUNjs (ORCPT ); Mon, 21 Oct 2019 09:39:48 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.35.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 04454214B2; Mon, 21 Oct 2019 13:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571665188; bh=cM1MTKb+ph4LOAQACBfuPjtegnhcj+XVjswRcu3Ugtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eK5kZcdVadXPgtGJhWT/fHORb8/DXKE4uTeo8cP3kfZ/es7pXGmOieicpRiyG6Zsf e71WOvI2v3pz0N2G8rV3reh9e7hjQ1OiuLddoGOALN/3ixan5zZIDQr7QL9n3TEWcj dlYZjQAuAdo6EpbA5iwHVojo5CGRrOyNaQ7CtQog= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, John Garry , Shaokun Zhang , Alexander Shishkin , Jiri Olsa , Mark Rutland , Peter Zijlstra , Will Deacon , linuxarm@huawei.com, Arnaldo Carvalho de Melo Subject: [PATCH 20/57] perf vendor events arm64: Add some missing events for Hisi hip08 DDRC PMU Date: Mon, 21 Oct 2019 10:37:57 -0300 Message-Id: <20191021133834.25998-21-acme@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191021133834.25998-1-acme@kernel.org> References: <20191021133834.25998-1-acme@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John Garry Add some more missing events. Signed-off-by: John Garry Reviewed-by: Shaokun Zhang Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Will Deacon Cc: linuxarm@huawei.com Link: http://lore.kernel.org/lkml/1567612484-195727-3-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- .../arch/arm64/hisilicon/hip08/uncore-ddrc.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.21.0 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",