xref: /linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/exception.json (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1[
2    {
3        "ArchStdEvent": "EXC_TAKEN",
4        "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."
5    },
6    {
7        "ArchStdEvent": "EXC_RETURN",
8        "PublicDescription": "Counts any architecturally executed exception return instructions. Eg: AArch64: ERET"
9    },
10    {
11        "ArchStdEvent": "EXC_UNDEF",
12        "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."
13    },
14    {
15        "ArchStdEvent": "EXC_SVC",
16        "PublicDescription": "Counts SVC exceptions taken locally."
17    },
18    {
19        "ArchStdEvent": "EXC_PABORT",
20        "PublicDescription": "Counts synchronous exceptions that are taken locally and caused by Instruction Aborts."
21    },
22    {
23        "ArchStdEvent": "EXC_DABORT",
24        "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."
25    },
26    {
27        "ArchStdEvent": "EXC_IRQ",
28        "PublicDescription": "Counts IRQ exceptions including the virtual IRQs that are taken locally."
29    },
30    {
31        "ArchStdEvent": "EXC_FIQ",
32        "PublicDescription": "Counts FIQ exceptions including the virtual FIQs that are taken locally."
33    },
34    {
35        "ArchStdEvent": "EXC_SMC",
36        "PublicDescription": "Counts SMC exceptions take to EL3."
37    },
38    {
39        "ArchStdEvent": "EXC_HVC",
40        "PublicDescription": "Counts HVC exceptions taken to EL2."
41    },
42    {
43        "ArchStdEvent": "EXC_TRAP_PABORT",
44        "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."
45    },
46    {
47        "ArchStdEvent": "EXC_TRAP_DABORT",
48        "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."
49    },
50    {
51        "ArchStdEvent": "EXC_TRAP_OTHER",
52        "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."
53    },
54    {
55        "ArchStdEvent": "EXC_TRAP_IRQ",
56        "PublicDescription": "Counts IRQ exceptions including the virtual IRQs that are not taken locally."
57    },
58    {
59        "ArchStdEvent": "EXC_TRAP_FIQ",
60        "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)."
61    }
62]
63