The "EventName" for the DDRC precharge command event is incorrect, so fix
it.

Fixes: 57cc732479ba ("perf jevents: Add support for Hisi hip08 DDRC PMU 
aliasing")
Signed-off-by: John Garry <[email protected]>
---
 .../perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 0d1556fcdffe..99f4fc425564 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
@@ -15,7 +15,7 @@
    },
    {
            "EventCode": "0x04",
-           "EventName": "uncore_hisi_ddrc.flux_wr",
+           "EventName": "uncore_hisi_ddrc.pre_cmd",
            "BriefDescription": "DDRC precharge commands",
            "PublicDescription": "DDRC precharge commands",
            "Unit": "hisi_sccl,ddrc",
-- 
2.17.1

Reply via email to