mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Using the scripts at: https://gitlab.arm.com/telemetry-solution/telemetry-solution/ Generate perf json for neoverse-v3 using the following command: ``` $ telemetry-solution/tools/perf_json_generator/generate.py \ tools/perf/ --telemetry-files \ telemetry-solution/data/pmu/cpu/neoverse/neoverse-v3.json ``` Signed-off-by: Ian Rogers <irogers@google.com> [Re-generate after updating script] Signed-off-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250122163504.2061472-3-james.clark@linaro.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
139 lines
14 KiB
JSON
139 lines
14 KiB
JSON
[
|
|
{
|
|
"ArchStdEvent": "L1I_TLB_REFILL",
|
|
"PublicDescription": "Counts level 1 instruction TLB refills from any Instruction fetch. If there are multiple misses in the TLB that are resolved by the refill, then this event only counts once. This event will not count if the translation table walk results in a fault (such as a translation or access fault), since there is no new translation created for the TLB."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_REFILL",
|
|
"PublicDescription": "Counts level 1 data TLB accesses that resulted in TLB refills. If there are multiple misses in the TLB that are resolved by the refill, then this event only counts once. This event counts for refills caused by preload instructions or hardware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in a translation table walk. This event will not count if the translation table walk results in a fault (such as a translation or access fault), since there is no new translation created for the TLB. This event will not count on an access from an AT(address translation) instruction."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB",
|
|
"PublicDescription": "Counts level 1 data TLB accesses caused by any memory load or store operation. Note that load or store instructions can be broken up into multiple memory operations. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1I_TLB",
|
|
"PublicDescription": "Counts level 1 instruction TLB accesses, whether the access hits or misses in the TLB. This event counts both demand accesses and prefetch or preload generated accesses."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB_REFILL",
|
|
"PublicDescription": "Counts level 2 TLB refills caused by memory operations from both data and instruction fetch, except for those caused by TLB maintenance operations and hardware prefetches."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB",
|
|
"PublicDescription": "Counts level 2 TLB accesses except those caused by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK",
|
|
"PublicDescription": "Counts number of demand data translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event counts walks triggered by software preloads, but not walks triggered by hardware prefetchers, and that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK",
|
|
"PublicDescription": "Counts number of instruction translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_REFILL_RD",
|
|
"PublicDescription": "Counts level 1 data TLB refills caused by memory read operations. If there are multiple misses in the TLB that are resolved by the refill, then this event only counts once. This event counts for refills caused by preload instructions or hardware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in a translation table walk. This event will not count if the translation table walk results in a fault (such as a translation or access fault), since there is no new translation created for the TLB. This event will not count on an access from an Address Translation (AT) instruction."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_REFILL_WR",
|
|
"PublicDescription": "Counts level 1 data TLB refills caused by data side memory write operations. If there are multiple misses in the TLB that are resolved by the refill, then this event only counts once. This event counts for refills caused by preload instructions or hardware prefetch accesses. This event counts regardless of whether the miss hits in L2 or results in a translation table walk. This event will not count if the table walk results in a fault (such as a translation or access fault), since there is no new translation created for the TLB. This event will not count with an access from an Address Translation (AT) instruction."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_RD",
|
|
"PublicDescription": "Counts level 1 data TLB accesses caused by memory read operations. This event counts whether the access hits or misses in the TLB. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_WR",
|
|
"PublicDescription": "Counts any L1 data side TLB accesses caused by memory write operations. This event counts whether the access hits or misses in the TLB. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB_REFILL_RD",
|
|
"PublicDescription": "Counts level 2 TLB refills caused by memory read operations from both data and instruction fetch except for those caused by TLB maintenance operations or hardware prefetches."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB_REFILL_WR",
|
|
"PublicDescription": "Counts level 2 TLB refills caused by memory write operations from both data and instruction fetch except for those caused by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB_RD",
|
|
"PublicDescription": "Counts level 2 TLB accesses caused by memory read operations from both data and instruction fetch except for those caused by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L2D_TLB_WR",
|
|
"PublicDescription": "Counts level 2 TLB accesses caused by memory write operations from both data and instruction fetch except for those caused by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK_PERCYC",
|
|
"PublicDescription": "Counts the number of data translation table walks in progress per cycle."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK_PERCYC",
|
|
"PublicDescription": "Counts the number of instruction translation table walks in progress per cycle."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_RW",
|
|
"PublicDescription": "Counts level 1 data TLB demand accesses caused by memory read or write operations. This event counts whether the access hits or misses in the TLB. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1I_TLB_RD",
|
|
"PublicDescription": "Counts level 1 instruction TLB demand accesses whether the access hits or misses in the TLB."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1D_TLB_PRFM",
|
|
"PublicDescription": "Counts level 1 data TLB accesses generated by software prefetch or preload memory accesses. Load or store instructions can be broken into multiple memory operations. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "L1I_TLB_PRFM",
|
|
"PublicDescription": "Counts level 1 instruction TLB accesses generated by software preload or prefetch instructions. This event counts whether the access hits or misses in the TLB. This event does not count TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_HWUPD",
|
|
"PublicDescription": "Counts number of memory accesses triggered by a data translation table walk and performing an update of a translation table entry. Memory accesses are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that this event counts accesses triggered by software preloads, but not accesses triggered by hardware prefetchers."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_HWUPD",
|
|
"PublicDescription": "Counts number of memory accesses triggered by an instruction translation table walk and performing an update of a translation table entry. Memory accesses are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_STEP",
|
|
"PublicDescription": "Counts number of memory accesses triggered by a demand data translation table walk and performing a read of a translation table entry. Memory accesses are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that this event counts accesses triggered by software preloads, but not accesses triggered by hardware prefetchers."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_STEP",
|
|
"PublicDescription": "Counts number of memory accesses triggered by an instruction translation table walk and performing a read of a translation table entry. Memory accesses are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK_LARGE",
|
|
"PublicDescription": "Counts number of demand data translation table walks caused by a miss in the L2 TLB and yielding a large page. The set of large pages is defined as all pages with a final size higher than or equal to 2MB. Translation table walks that end up taking a translation fault are not counted, as the page size would be undefined in that case. If DTLB_WALK_BLOCK is implemented, then it is an alias for this event in this family. Note that partial translations that cause a translation table walk are also counted. Also note that this event counts walks triggered by software preloads, but not walks triggered by hardware prefetchers, and that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK_LARGE",
|
|
"PublicDescription": "Counts number of instruction translation table walks caused by a miss in the L2 TLB and yielding a large page. The set of large pages is defined as all pages with a final size higher than or equal to 2MB. Translation table walks that end up taking a translation fault are not counted, as the page size would be undefined in that case. In this family, this is equal to ITLB_WALK_BLOCK event. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK_SMALL",
|
|
"PublicDescription": "Counts number of data translation table walks caused by a miss in the L2 TLB and yielding a small page. The set of small pages is defined as all pages with a final size lower than 2MB. Translation table walks that end up taking a translation fault are not counted, as the page size would be undefined in that case. If DTLB_WALK_PAGE event is implemented, then it is an alias for this event in this family. Note that partial translations that cause a translation table walk are also counted. Also note that this event counts walks triggered by software preloads, but not walks triggered by hardware prefetchers, and that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK_SMALL",
|
|
"PublicDescription": "Counts number of instruction translation table walks caused by a miss in the L2 TLB and yielding a small page. The set of small pages is defined as all pages with a final size lower than 2MB. Translation table walks that end up taking a translation fault are not counted, as the page size would be undefined in that case. In this family, this is equal to ITLB_WALK_PAGE event. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK_RW",
|
|
"PublicDescription": "Counts number of demand data translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK_RD",
|
|
"PublicDescription": "Counts number of demand instruction translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "DTLB_WALK_PRFM",
|
|
"PublicDescription": "Counts number of software prefetches or preloads generated data translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
},
|
|
{
|
|
"ArchStdEvent": "ITLB_WALK_PRFM",
|
|
"PublicDescription": "Counts number of software prefetches or preloads generated instruction translation table walks caused by a miss in the L2 TLB and performing at least one memory access. Translation table walks are counted even if the translation ended up taking a translation fault for reasons different than EPD, E0PD and NFD. Note that partial translations that cause a translation table walk are also counted. Also note that this event does not count walks triggered by TLB maintenance operations."
|
|
}
|
|
]
|