The following commit has been merged into the perf/core branch of tip:

Commit-ID:     1410732a1b642ba82730a95bdf7f4dafbac1891a
Gitweb:        
https://git.kernel.org/tip/1410732a1b642ba82730a95bdf7f4dafbac1891a
Author:        John Garry <[email protected]>
AuthorDate:    Wed, 04 Sep 2019 23:54:42 +08:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Tue, 15 Oct 2019 13:03:58 -03:00

perf vendor events arm64: Add some missing events for Hisi hip08 DDRC PMU

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]>
---
 tools/perf/pmu-events/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 99f4fc4..7da8694 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,5 +1,19 @@
 [
    {
+           "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",
            "BriefDescription": "DDRC write commands",

Reply via email to