perf vendor events arm64: Add some missing events for Hisi hip08 DDRC PMU
authorJohn Garry <john.garry@huawei.com>
Wed, 4 Sep 2019 15:54:42 +0000 (23:54 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Oct 2019 16:03:58 +0000 (13:03 -0300)
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-3-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json

index 99f4fc4255647c1383b11dd5b94d64e4b86c013b..7da86942dae2f8c978d4b14366cb148748f33a67 100644 (file)
@@ -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",