Commit 08f3e087 authored by James Clark's avatar James Clark Committed by Arnaldo Carvalho de Melo

perf vendor-events: Fix all remaining invalid JSON files

Remove trailing commas. A later commit will make the parser more strict
and these will not be valid anymore.
Reviewed-by: default avatarAndi Kleen <ak@linux.intel.com>
Reviewed-by: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-by: Kajol Jain<kjain@linux.ibm.com>
Signed-off-by: default avatarJames Clark <james.clark@arm.com>
Acked-by: default avatarJiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andrew.Kilroy@arm.com
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nick.Forrington@arm.com
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20211007110543.564963-2-james.clark@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c6c00900
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
"ArchStdEvent": "BUS_ACCESS_PERIPH" "ArchStdEvent": "BUS_ACCESS_PERIPH"
}, },
{ {
"ArchStdEvent": "BUS_ACCESS", "ArchStdEvent": "BUS_ACCESS"
} }
] ]
...@@ -39,31 +39,31 @@ ...@@ -39,31 +39,31 @@
"ArchStdEvent": "L2D_CACHE_INVAL" "ArchStdEvent": "L2D_CACHE_INVAL"
}, },
{ {
"ArchStdEvent": "L1I_CACHE_REFILL", "ArchStdEvent": "L1I_CACHE_REFILL"
}, },
{ {
"ArchStdEvent": "L1I_TLB_REFILL", "ArchStdEvent": "L1I_TLB_REFILL"
}, },
{ {
"ArchStdEvent": "L1D_CACHE_REFILL", "ArchStdEvent": "L1D_CACHE_REFILL"
}, },
{ {
"ArchStdEvent": "L1D_CACHE", "ArchStdEvent": "L1D_CACHE"
}, },
{ {
"ArchStdEvent": "L1D_TLB_REFILL", "ArchStdEvent": "L1D_TLB_REFILL"
}, },
{ {
"ArchStdEvent": "L1I_CACHE", "ArchStdEvent": "L1I_CACHE"
}, },
{ {
"ArchStdEvent": "L2D_CACHE", "ArchStdEvent": "L2D_CACHE"
}, },
{ {
"ArchStdEvent": "L2D_CACHE_REFILL", "ArchStdEvent": "L2D_CACHE_REFILL"
}, },
{ {
"ArchStdEvent": "L2D_CACHE_WB", "ArchStdEvent": "L2D_CACHE_WB"
}, },
{ {
"PublicDescription": "This event counts any load or store operation which accesses the data L1 TLB", "PublicDescription": "This event counts any load or store operation which accesses the data L1 TLB",
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
}, },
{ {
"PublicDescription": "This event counts any instruction fetch which accesses the instruction L1 TLB", "PublicDescription": "This event counts any instruction fetch which accesses the instruction L1 TLB",
"ArchStdEvent": "L1I_TLB", "ArchStdEvent": "L1I_TLB"
}, },
{ {
"PublicDescription": "Level 2 access to data TLB that caused a page table walk. This event counts on any data access which causes L2D_TLB_REFILL to count", "PublicDescription": "Level 2 access to data TLB that caused a page table walk. This event counts on any data access which causes L2D_TLB_REFILL to count",
......
[ [
{ {
"PublicDescription": "The number of core clock cycles", "PublicDescription": "The number of core clock cycles",
"ArchStdEvent": "CPU_CYCLES", "ArchStdEvent": "CPU_CYCLES"
}, },
{ {
"PublicDescription": "FSU clocking gated off cycle", "PublicDescription": "FSU clocking gated off cycle",
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
"ArchStdEvent": "EXC_TRAP_FIQ" "ArchStdEvent": "EXC_TRAP_FIQ"
}, },
{ {
"ArchStdEvent": "EXC_TAKEN", "ArchStdEvent": "EXC_TAKEN"
}, },
{ {
"ArchStdEvent": "EXC_RETURN", "ArchStdEvent": "EXC_RETURN"
} }
] ]
...@@ -44,25 +44,25 @@ ...@@ -44,25 +44,25 @@
"BriefDescription": "Software increment" "BriefDescription": "Software increment"
}, },
{ {
"ArchStdEvent": "INST_RETIRED", "ArchStdEvent": "INST_RETIRED"
}, },
{ {
"ArchStdEvent": "CID_WRITE_RETIRED", "ArchStdEvent": "CID_WRITE_RETIRED",
"BriefDescription": "Write to CONTEXTIDR" "BriefDescription": "Write to CONTEXTIDR"
}, },
{ {
"ArchStdEvent": "INST_SPEC", "ArchStdEvent": "INST_SPEC"
}, },
{ {
"ArchStdEvent": "TTBR_WRITE_RETIRED", "ArchStdEvent": "TTBR_WRITE_RETIRED"
}, },
{ {
"PublicDescription": "This event counts all branches, taken or not. This excludes exception entries, debug entries and CCFAIL branches", "PublicDescription": "This event counts all branches, taken or not. This excludes exception entries, debug entries and CCFAIL branches",
"ArchStdEvent": "BR_RETIRED", "ArchStdEvent": "BR_RETIRED"
}, },
{ {
"PublicDescription": "This event counts any branch counted by BR_RETIRED which is not correctly predicted and causes a pipeline flush", "PublicDescription": "This event counts any branch counted by BR_RETIRED which is not correctly predicted and causes a pipeline flush",
"ArchStdEvent": "BR_MIS_PRED_RETIRED", "ArchStdEvent": "BR_MIS_PRED_RETIRED"
}, },
{ {
"PublicDescription": "Operation speculatively executed, NOP", "PublicDescription": "Operation speculatively executed, NOP",
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
"ArchStdEvent": "UNALIGNED_LDST_SPEC" "ArchStdEvent": "UNALIGNED_LDST_SPEC"
}, },
{ {
"ArchStdEvent": "MEM_ACCESS", "ArchStdEvent": "MEM_ACCESS"
}, },
{ {
"PublicDescription": "This event counts any correctable or uncorrectable memory error (ECC or parity) in the protected core RAMs", "PublicDescription": "This event counts any correctable or uncorrectable memory error (ECC or parity) in the protected core RAMs",
"ArchStdEvent": "MEMORY_ERROR", "ArchStdEvent": "MEMORY_ERROR"
} }
] ]
...@@ -229,5 +229,5 @@ ...@@ -229,5 +229,5 @@
"BriefDescription": "Store bound L3 topdown metric", "BriefDescription": "Store bound L3 topdown metric",
"MetricGroup": "TopDownL3", "MetricGroup": "TopDownL3",
"MetricName": "store_bound" "MetricName": "store_bound"
}, }
] ]
...@@ -286,5 +286,5 @@ ...@@ -286,5 +286,5 @@
"EventCode": "0x21e", "EventCode": "0x21e",
"EventName": "pop25_inst", "EventName": "pop25_inst",
"BriefDescription": "V3 POP25 instructions" "BriefDescription": "V3 POP25 instructions"
}, }
] ]
...@@ -82,5 +82,5 @@ ...@@ -82,5 +82,5 @@
"EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES", "EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES",
"BriefDescription": "Problem-State L1D Penalty Cycles", "BriefDescription": "Problem-State L1D Penalty Cycles",
"PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count" "PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -124,5 +124,5 @@ ...@@ -124,5 +124,5 @@
"EventName": "L2C_STORES_SENT", "EventName": "L2C_STORES_SENT",
"BriefDescription": "L2C Stores Sent", "BriefDescription": "L2C Stores Sent",
"PublicDescription": "Incremented by one for every store sent to Level-2 (L1.5) cache" "PublicDescription": "Incremented by one for every store sent to Level-2 (L1.5) cache"
}, }
] ]
...@@ -82,5 +82,5 @@ ...@@ -82,5 +82,5 @@
"EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES", "EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES",
"BriefDescription": "Problem-State L1D Penalty Cycles", "BriefDescription": "Problem-State L1D Penalty Cycles",
"PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count" "PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -390,5 +390,5 @@ ...@@ -390,5 +390,5 @@
"EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE", "EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE",
"BriefDescription": "Cycle count with two threads active", "BriefDescription": "Cycle count with two threads active",
"PublicDescription": "Cycle count with two threads active" "PublicDescription": "Cycle count with two threads active"
}, }
] ]
...@@ -54,5 +54,5 @@ ...@@ -54,5 +54,5 @@
"EventName": "PROBLEM_STATE_INSTRUCTIONS", "EventName": "PROBLEM_STATE_INSTRUCTIONS",
"BriefDescription": "Problem-State Instructions", "BriefDescription": "Problem-State Instructions",
"PublicDescription": "Problem-State Instruction Count" "PublicDescription": "Problem-State Instruction Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -369,5 +369,5 @@ ...@@ -369,5 +369,5 @@
"EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE", "EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE",
"BriefDescription": "Cycle count with two threads active", "BriefDescription": "Cycle count with two threads active",
"PublicDescription": "Cycle count with two threads active" "PublicDescription": "Cycle count with two threads active"
}, }
] ]
...@@ -54,5 +54,5 @@ ...@@ -54,5 +54,5 @@
"EventName": "PROBLEM_STATE_INSTRUCTIONS", "EventName": "PROBLEM_STATE_INSTRUCTIONS",
"BriefDescription": "Problem-State Instructions", "BriefDescription": "Problem-State Instructions",
"PublicDescription": "Problem-State Instruction Count" "PublicDescription": "Problem-State Instruction Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -26,5 +26,5 @@ ...@@ -26,5 +26,5 @@
"EventName": "ECC_BLOCKED_CYCLES_COUNT", "EventName": "ECC_BLOCKED_CYCLES_COUNT",
"BriefDescription": "ECC Blocked Cycles Count", "BriefDescription": "ECC Blocked Cycles Count",
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the elliptic-curve cryptography (ECC) functions issued by the CPU because the ECC coprocessor is busy performing a function issued by another CPU." "PublicDescription": "This counter counts the total number of CPU cycles blocked for the elliptic-curve cryptography (ECC) functions issued by the CPU because the ECC coprocessor is busy performing a function issued by another CPU."
}, }
] ]
...@@ -397,5 +397,5 @@ ...@@ -397,5 +397,5 @@
"EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE", "EventName": "MT_DIAG_CYCLES_TWO_THR_ACTIVE",
"BriefDescription": "Cycle count with two threads active", "BriefDescription": "Cycle count with two threads active",
"PublicDescription": "Cycle count with two threads active" "PublicDescription": "Cycle count with two threads active"
}, }
] ]
...@@ -82,5 +82,5 @@ ...@@ -82,5 +82,5 @@
"EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES", "EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES",
"BriefDescription": "Problem-State L1D Penalty Cycles", "BriefDescription": "Problem-State L1D Penalty Cycles",
"PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count" "PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -166,5 +166,5 @@ ...@@ -166,5 +166,5 @@
"EventName": "L1I_OFFCHIP_L3_SOURCED_WRITES", "EventName": "L1I_OFFCHIP_L3_SOURCED_WRITES",
"BriefDescription": "L1I Off-Chip L3 Sourced Writes", "BriefDescription": "L1I Off-Chip L3 Sourced Writes",
"PublicDescription": "A directory write to the Level-1 I-Cache directory where the returned cache line was sourced from an Off Chip/On Book Level-3 cache" "PublicDescription": "A directory write to the Level-1 I-Cache directory where the returned cache line was sourced from an Off Chip/On Book Level-3 cache"
}, }
] ]
...@@ -82,5 +82,5 @@ ...@@ -82,5 +82,5 @@
"EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES", "EventName": "PROBLEM_STATE_L1D_PENALTY_CYCLES",
"BriefDescription": "Problem-State L1D Penalty Cycles", "BriefDescription": "Problem-State L1D Penalty Cycles",
"PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count" "PublicDescription": "Problem-State Level-1 D-Cache Penalty Cycle Count"
}, }
] ]
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
"EventName": "AES_BLOCKED_CYCLES", "EventName": "AES_BLOCKED_CYCLES",
"BriefDescription": "AES Blocked Cycles", "BriefDescription": "AES Blocked Cycles",
"PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU" "PublicDescription": "Total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU"
}, }
] ]
...@@ -243,5 +243,5 @@ ...@@ -243,5 +243,5 @@
"EventName": "TX_C_TABORT_SPECIAL", "EventName": "TX_C_TABORT_SPECIAL",
"BriefDescription": "Aborted transactions in constrained TX mode using special completion logic", "BriefDescription": "Aborted transactions in constrained TX mode using special completion logic",
"PublicDescription": "A transaction abort has occurred in a constrained transactional-execution mode and the CPU is using special logic to allow the transaction to complete" "PublicDescription": "A transaction abort has occurred in a constrained transactional-execution mode and the CPU is using special logic to allow the transaction to complete"
}, }
] ]
...@@ -38,5 +38,5 @@ ...@@ -38,5 +38,5 @@
"BriefDescription": "Total cache hits", "BriefDescription": "Total cache hits",
"PublicDescription": "Total cache hits", "PublicDescription": "Total cache hits",
"Unit": "imc" "Unit": "imc"
}, }
] ]
...@@ -311,5 +311,5 @@ ...@@ -311,5 +311,5 @@
"MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100", "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100",
"MetricGroup": "Power", "MetricGroup": "Power",
"MetricName": "C6_Pkg_Residency" "MetricName": "C6_Pkg_Residency"
}, }
] ]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment