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