From: John Garry <[email protected]>

Add some more missing events.

Signed-off-by: John Garry <[email protected]>
Reviewed-by: Shaokun Zhang <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Link: 
http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 .../arch/arm64/hisilicon/hip08/uncore-ddrc.json    | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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

Reply via email to