Commit 25bc4793 authored by Andrew Kilroy's avatar Andrew Kilroy Committed by Arnaldo Carvalho de Melo

perf vendor events: Syntax corrections in Neoverse N1 json

There are some syntactical mistakes in the json files for the Cortex A76
N1 (Neoverse N1).  This was obstructing parsing from an external tool.

This patch fixes the erroneous placement of commas causing the problems.
Reviewed-by: default avatarJohn Garry <john.garry@huawei.com>
Signed-off-by: default avatarAndrew Kilroy <andrew.kilroy@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.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: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20211006081106.8649-1-andrew.kilroy@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent b85a4d61
[ [
{ {
"PublicDescription": "This event counts any predictable branch instruction which is mispredicted either due to dynamic misprediction or because the MMU is off and the branches are statically predicted not taken", "PublicDescription": "This event counts any predictable branch instruction which is mispredicted either due to dynamic misprediction or because the MMU is off and the branches are statically predicted not taken",
"ArchStdEvent": "BR_MIS_PRED", "ArchStdEvent": "BR_MIS_PRED"
}, },
{ {
"PublicDescription": "This event counts all predictable branches.", "PublicDescription": "This event counts all predictable branches.",
"ArchStdEvent": "BR_PRED", "ArchStdEvent": "BR_PRED"
} }
] ]
[ [
{ {
"PublicDescription": "The number of core clock cycles" "PublicDescription": "The number of core clock cycles",
"ArchStdEvent": "CPU_CYCLES", "ArchStdEvent": "CPU_CYCLES",
"BriefDescription": "The number of core clock cycles." "BriefDescription": "The number of core clock cycles."
}, },
{ {
"PublicDescription": "This event counts for every beat of data transferred over the data channels between the core and the SCU. If both read and write data beats are transferred on a given cycle, this event is counted twice on that cycle. This event counts the sum of BUS_ACCESS_RD and BUS_ACCESS_WR.", "PublicDescription": "This event counts for every beat of data transferred over the data channels between the core and the SCU. If both read and write data beats are transferred on a given cycle, this event is counted twice on that cycle. This event counts the sum of BUS_ACCESS_RD and BUS_ACCESS_WR.",
"ArchStdEvent": "BUS_ACCESS", "ArchStdEvent": "BUS_ACCESS"
}, },
{ {
"PublicDescription": "This event duplicates CPU_CYCLES." "PublicDescription": "This event duplicates CPU_CYCLES.",
"ArchStdEvent": "BUS_CYCLES", "ArchStdEvent": "BUS_CYCLES"
}, },
{ {
"ArchStdEvent": "BUS_ACCESS_RD", "ArchStdEvent": "BUS_ACCESS_RD"
}, },
{ {
"ArchStdEvent": "BUS_ACCESS_WR", "ArchStdEvent": "BUS_ACCESS_WR"
} }
] ]
[ [
{ {
"PublicDescription": "This event counts any instruction fetch which misses in the cache.", "PublicDescription": "This event counts any instruction fetch which misses in the cache.",
"ArchStdEvent": "L1I_CACHE_REFILL", "ArchStdEvent": "L1I_CACHE_REFILL"
}, },
{ {
"PublicDescription": "This event counts any refill of the instruction L1 TLB from the L2 TLB. This includes refills that result in a translation fault.", "PublicDescription": "This event counts any refill of the instruction L1 TLB from the L2 TLB. This includes refills that result in a translation fault.",
"ArchStdEvent": "L1I_TLB_REFILL", "ArchStdEvent": "L1I_TLB_REFILL"
}, },
{ {
"PublicDescription": "This event counts any load or store operation or page table walk access which causes data to be read from outside the L1, including accesses which do not allocate into L1.", "PublicDescription": "This event counts any load or store operation or page table walk access which causes data to be read from outside the L1, including accesses which do not allocate into L1.",
"ArchStdEvent": "L1D_CACHE_REFILL", "ArchStdEvent": "L1D_CACHE_REFILL"
}, },
{ {
"PublicDescription": "This event counts any load or store operation or page table walk access which looks up in the L1 data cache. In particular, any access which could count the L1D_CACHE_REFILL event causes this event to count.", "PublicDescription": "This event counts any load or store operation or page table walk access which looks up in the L1 data cache. In particular, any access which could count the L1D_CACHE_REFILL event causes this event to count.",
"ArchStdEvent": "L1D_CACHE", "ArchStdEvent": "L1D_CACHE"
}, },
{ {
"PublicDescription": "This event counts any refill of the data L1 TLB from the L2 TLB. This includes refills that result in a translation fault.", "PublicDescription": "This event counts any refill of the data L1 TLB from the L2 TLB. This includes refills that result in a translation fault.",
"ArchStdEvent": "L1D_TLB_REFILL", "ArchStdEvent": "L1D_TLB_REFILL"
}, },
{, {
"PublicDescription": "Level 1 instruction cache access or Level 0 Macro-op cache access. This event counts any instruction fetch which accesses the L1 instruction cache or L0 Macro-op cache.", "PublicDescription": "Level 1 instruction cache access or Level 0 Macro-op cache access. This event counts any instruction fetch which accesses the L1 instruction cache or L0 Macro-op cache.",
"ArchStdEvent": "L1I_CACHE", "ArchStdEvent": "L1I_CACHE"
}, },
{ {
"PublicDescription": "This event counts any write-back of data from the L1 data cache to L2 or L3. This counts both victim line evictions and snoops, including cache maintenance operations.", "PublicDescription": "This event counts any write-back of data from the L1 data cache to L2 or L3. This counts both victim line evictions and snoops, including cache maintenance operations.",
"ArchStdEvent": "L1D_CACHE_WB", "ArchStdEvent": "L1D_CACHE_WB"
}, },
{ {
"PublicDescription": "This event counts any transaction from L1 which looks up in the L2 cache, and any write-back from the L1 to the L2. Snoops from outside the core and cache maintenance operations are not counted.", "PublicDescription": "This event counts any transaction from L1 which looks up in the L2 cache, and any write-back from the L1 to the L2. Snoops from outside the core and cache maintenance operations are not counted.",
"ArchStdEvent": "L2D_CACHE", "ArchStdEvent": "L2D_CACHE"
}, },
{ {
"PublicDescription": "L2 data cache refill. This event counts any cacheable transaction from L1 which causes data to be read from outside the core. L2 refills caused by stashes into L2 should not be counted", "PublicDescription": "L2 data cache refill. This event counts any cacheable transaction from L1 which causes data to be read from outside the core. L2 refills caused by stashes into L2 should not be counted",
"ArchStdEvent": "L2D_CACHE_REFILL", "ArchStdEvent": "L2D_CACHE_REFILL"
}, },
{ {
"PublicDescription": "This event counts any write-back of data from the L2 cache to outside the core. This includes snoops to the L2 which return data, regardless of whether they cause an invalidation. Invalidations from the L2 which do not write data outside of the core and snoops which return data from the L1 are not counted", "PublicDescription": "This event counts any write-back of data from the L2 cache to outside the core. This includes snoops to the L2 which return data, regardless of whether they cause an invalidation. Invalidations from the L2 which do not write data outside of the core and snoops which return data from the L1 are not counted",
"ArchStdEvent": "L2D_CACHE_WB", "ArchStdEvent": "L2D_CACHE_WB"
}, },
{ {
"PublicDescription": "This event counts any full cache line write into the L2 cache which does not cause a linefill, including write-backs from L1 to L2 and full-line writes which do not allocate into L1.", "PublicDescription": "This event counts any full cache line write into the L2 cache which does not cause a linefill, including write-backs from L1 to L2 and full-line writes which do not allocate into L1.",
"ArchStdEvent": "L2D_CACHE_ALLOCATE", "ArchStdEvent": "L2D_CACHE_ALLOCATE"
}, },
{ {
"PublicDescription": "This event counts any load or store operation which accesses the data L1 TLB. If both a load and a store are executed on a cycle, this event counts twice. This event counts regardless of whether the MMU is enabled.", "PublicDescription": "This event counts any load or store operation which accesses the data L1 TLB. If both a load and a store are executed on a cycle, this event counts twice. This event counts regardless of whether the MMU is enabled.",
...@@ -75,21 +75,21 @@ ...@@ -75,21 +75,21 @@
}, },
{ {
"PublicDescription": "This event counts on any access to the L2 TLB (caused by a refill of any of the L1 TLBs). This event does not count if the MMU is disabled.", "PublicDescription": "This event counts on any access to the L2 TLB (caused by a refill of any of the L1 TLBs). This event does not count if the MMU is disabled.",
"ArchStdEvent": "L2D_TLB", "ArchStdEvent": "L2D_TLB"
}, },
{ {
"PublicDescription": "This event counts on any data access which causes L2D_TLB_REFILL to count.", "PublicDescription": "This event counts on any data access which causes L2D_TLB_REFILL to count.",
"ArchStdEvent": "DTLB_WALK", "ArchStdEvent": "DTLB_WALK"
}, },
{ {
"PublicDescription": "This event counts on any instruction access which causes L2D_TLB_REFILL to count.", "PublicDescription": "This event counts on any instruction access which causes L2D_TLB_REFILL to count.",
"ArchStdEvent": "ITLB_WALK", "ArchStdEvent": "ITLB_WALK"
}, },
{ {
"ArchStdEvent": "LL_CACHE_RD", "ArchStdEvent": "LL_CACHE_RD"
}, },
{ {
"ArchStdEvent": "LL_CACHE_MISS_RD", "ArchStdEvent": "LL_CACHE_MISS_RD"
}, },
{ {
"ArchStdEvent": "L1D_CACHE_INVAL" "ArchStdEvent": "L1D_CACHE_INVAL"
......
[ [
{ {
"ArchStdEvent": "EXC_TAKEN", "ArchStdEvent": "EXC_TAKEN"
}, },
{ {
"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"
}, },
{ {
"ArchStdEvent": "EXC_DABORT" "ArchStdEvent": "EXC_DABORT"
......
[ [
{ {
"ArchStdEvent": "SW_INCR", "ArchStdEvent": "SW_INCR"
}, },
{ {
"PublicDescription": "This event counts all retired instructions, including those that fail their condition check.", "PublicDescription": "This event counts all retired instructions, including those that fail their condition check.",
"ArchStdEvent": "INST_RETIRED", "ArchStdEvent": "INST_RETIRED"
}, },
{ {
"ArchStdEvent": "EXC_RETURN", "ArchStdEvent": "EXC_RETURN"
}, },
{ {
"PublicDescription": "This event only counts writes to CONTEXTIDR in AArch32 state, and via the CONTEXTIDR_EL1 mnemonic in AArch64 state.", "PublicDescription": "This event only counts writes to CONTEXTIDR in AArch32 state, and via the CONTEXTIDR_EL1 mnemonic in AArch64 state.",
"ArchStdEvent": "CID_WRITE_RETIRED", "ArchStdEvent": "CID_WRITE_RETIRED"
}, },
{ {
"ArchStdEvent": "INST_SPEC", "ArchStdEvent": "INST_SPEC"
}, },
{ {
"PublicDescription": "This event only counts writes to TTBR0/TTBR1 in AArch32 state and TTBR0_EL1/TTBR1_EL1 in AArch64 state.", "PublicDescription": "This event only counts writes to TTBR0/TTBR1 in AArch32 state and TTBR0_EL1/TTBR1_EL1 in AArch64 state.",
"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"
}, },
{ {
"ArchStdEvent": "ASE_SPEC" "ArchStdEvent": "ASE_SPEC"
......
[ [
{ {
"PublicDescription": "This event counts memory accesses due to load or store instructions. This event counts the sum of MEM_ACCESS_RD and MEM_ACCESS_WR.", "PublicDescription": "This event counts memory accesses due to load or store instructions. This event counts the sum of MEM_ACCESS_RD and MEM_ACCESS_WR.",
"ArchStdEvent": "MEM_ACCESS", "ArchStdEvent": "MEM_ACCESS"
}, },
{ {
"ArchStdEvent": "MEM_ACCESS_RD" "ArchStdEvent": "MEM_ACCESS_RD"
......
[ [
{ {
"ArchStdEvent": "REMOTE_ACCESS", "ArchStdEvent": "REMOTE_ACCESS"
} }
] ]
[ [
{ {
"PublicDescription": "The counter counts on any cycle when there are no fetched instructions available to dispatch.", "PublicDescription": "The counter counts on any cycle when there are no fetched instructions available to dispatch.",
"ArchStdEvent": "STALL_FRONTEND", "ArchStdEvent": "STALL_FRONTEND"
}, },
{ {
"PublicDescription": "The counter counts on any cycle fetched instructions are not dispatched due to resource constraints.", "PublicDescription": "The counter counts on any cycle fetched instructions are not dispatched due to resource constraints.",
"ArchStdEvent": "STALL_BACKEND", "ArchStdEvent": "STALL_BACKEND"
} }
] ]
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