mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

Update using the new data [1] for these changes: * Scale some metrics like dtlb_walk_ratio to percent so they display better with Perf's 2 dp precision * Description typos, grammar and clarifications * Unnecessary metric formula brackets seem to have been removed in the source but this is not a functional change * New sve_all_percentage metric The following command was used to generate this commit: $ telemetry-solution/tools/perf_json_generator/generate.py \ tools/perf/ --telemetry-files \ telemetry-solution/data/pmu/cpu/neoverse/neoverse-v2.json:neoverse-n2-v2 [1]: https://gitlab.arm.com/telemetry-solution/telemetry-solution/-/blob/main/data/pmu/cpu/neoverse/neoverse-v2.json Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: James Clark <james.clark@linaro.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.g.garry@oracle.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Leo Yan <leo.yan@linux.dev> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mike Leach <mike.leach@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20241120143739.243728-1-james.clark@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
63 lines
3.4 KiB
JSON
63 lines
3.4 KiB
JSON
[
|
|
{
|
|
"ArchStdEvent": "EXC_TAKEN",
|
|
"PublicDescription": "Counts any taken architecturally visible exceptions such as IRQ, FIQ, SError, and other synchronous exceptions. Exceptions are counted whether or not they are taken locally."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_RETURN",
|
|
"PublicDescription": "Counts any architecturally executed exception return instructions. For example: AArch64: ERET"
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_UNDEF",
|
|
"PublicDescription": "Counts the number of synchronous exceptions which are taken locally that are due to attempting to execute an instruction that is UNDEFINED. Attempting to execute instruction bit patterns that have not been allocated. Attempting to execute instructions when they are disabled. Attempting to execute instructions at an inappropriate Exception level. Attempting to execute an instruction when the value of PSTATE.IL is 1."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_SVC",
|
|
"PublicDescription": "Counts SVC exceptions taken locally."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_PABORT",
|
|
"PublicDescription": "Counts synchronous exceptions that are taken locally and caused by Instruction Aborts."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_DABORT",
|
|
"PublicDescription": "Counts exceptions that are taken locally and are caused by data aborts or SErrors. Conditions that could cause those exceptions are attempting to read or write memory where the MMU generates a fault, attempting to read or write memory with a misaligned address, interrupts from the nSEI inputs and internally generated SErrors."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_IRQ",
|
|
"PublicDescription": "Counts IRQ exceptions including the virtual IRQs that are taken locally."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_FIQ",
|
|
"PublicDescription": "Counts FIQ exceptions including the virtual FIQs that are taken locally."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_SMC",
|
|
"PublicDescription": "Counts SMC exceptions take to EL3."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_HVC",
|
|
"PublicDescription": "Counts HVC exceptions taken to EL2."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_TRAP_PABORT",
|
|
"PublicDescription": "Counts exceptions which are traps not taken locally and are caused by Instruction Aborts. For example, attempting to execute an instruction with a misaligned PC."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_TRAP_DABORT",
|
|
"PublicDescription": "Counts exceptions which are traps not taken locally and are caused by Data Aborts or SError interrupts. Conditions that could cause those exceptions are:\n\n1. Attempting to read or write memory where the MMU generates a fault,\n2. Attempting to read or write memory with a misaligned address,\n3. Interrupts from the SEI input.\n4. internally generated SErrors."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_TRAP_OTHER",
|
|
"PublicDescription": "Counts the number of synchronous trap exceptions which are not taken locally and are not SVC, SMC, HVC, data aborts, Instruction Aborts, or interrupts."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_TRAP_IRQ",
|
|
"PublicDescription": "Counts IRQ exceptions including the virtual IRQs that are not taken locally."
|
|
},
|
|
{
|
|
"ArchStdEvent": "EXC_TRAP_FIQ",
|
|
"PublicDescription": "Counts FIQs which are not taken locally but taken from EL0, EL1,\n or EL2 to EL3 (which would be the normal behavior for FIQs when not executing\n in EL3)."
|
|
}
|
|
]
|