103 lines
4.2 KiB
Diff
103 lines
4.2 KiB
Diff
From 512e47929f31707b18b9345c7dd172e48eb451a0 Mon Sep 17 00:00:00 2001
|
|
From: John Garry <john.garry@huawei.com>
|
|
Date: Wed, 4 Sep 2019 23:54:43 +0800
|
|
Subject: [PATCH 030/201] perf vendor events arm64: Add some missing events for
|
|
Hisi hip08 L3C PMU
|
|
|
|
mainline inclusion
|
|
from mainline-v5.5-rc1
|
|
commit e3ae569541802a6c9e89ab1f0f3ff613a5a1237b
|
|
category: bugfix
|
|
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C0CX
|
|
|
|
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e3ae569541802a6c9e89ab1f0f3ff613a5a1237b
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
Add some more missing events.
|
|
|
|
Signed-off-by: John Garry <john.garry@huawei.com>
|
|
Reviewed-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
|
|
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
|
|
Cc: Jiri Olsa <jolsa@redhat.com>
|
|
Cc: Mark Rutland <mark.rutland@arm.com>
|
|
Cc: Namhyung Kim <namhyung@kernel.org>
|
|
Cc: Peter Zijlstra <peterz@infradead.org>
|
|
Cc: Will Deacon <will@kernel.org>
|
|
Cc: linuxarm@huawei.com
|
|
Link: http://lore.kernel.org/lkml/1567612484-195727-4-git-send-email-john.garry@huawei.com
|
|
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
Signed-off-by: hongrongxuan <hongrongxuan@huawei.com>
|
|
---
|
|
.../arm64/hisilicon/hip08/uncore-l3c.json | 56 +++++++++++++++++++
|
|
1 file changed, 56 insertions(+)
|
|
|
|
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",
|
|
+ },
|
|
]
|
|
--
|
|
2.27.0
|
|
|