xref: /linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/branch.json (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1[
2    {
3        "ArchStdEvent": "BR_MIS_PRED"
4    },
5    {
6        "ArchStdEvent": "BR_PRED"
7    },
8    {
9        "ArchStdEvent": "BR_IMMED_SPEC"
10    },
11    {
12        "ArchStdEvent": "BR_RETURN_SPEC"
13    },
14    {
15        "ArchStdEvent": "BR_INDIRECT_SPEC"
16    },
17    {
18        "PublicDescription": "Predicted conditional branch executed. This event counts when any branch that the conditional predictor can predict is retired. This event still counts when branch prediction is disabled due to the Memory Management Unit (MMU) being off",
19        "EventCode": "0xC9",
20        "EventName": "BR_COND_PRED",
21        "BriefDescription": "Predicted conditional branch executed. This event counts when any branch that the conditional predictor can predict is retired. This event still counts when branch prediction is disabled due to the Memory Management Unit (MMU) being off"
22    },
23    {
24        "PublicDescription": "Indirect branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. This event still counts when branch prediction is disabled due to the MMU being off",
25        "EventCode": "0xCA",
26        "EventName": "BR_INDIRECT_MIS_PRED",
27        "BriefDescription": "Indirect branch mispredicted. This event counts when any indirect branch that the Branch Target Address Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. This event still counts when branch prediction is disabled due to the MMU being off"
28    },
29    {
30        "PublicDescription": "Indirect branch mispredicted due to address miscompare. This event counts when any indirect branch that the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispredicted the address. This event still counts when branch prediction is disabled due to the MMU being off",
31        "EventCode": "0xCB",
32        "EventName": "BR_INDIRECT_ADDR_MIS_PRED",
33        "BriefDescription": "Indirect branch mispredicted due to address miscompare. This event counts when any indirect branch that the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispredicted the address. This event still counts when branch prediction is disabled due to the MMU being off"
34    },
35    {
36        "PublicDescription": "Conditional branch mispredicted. This event counts when any branch that the conditional predictor can predict is retired and has mispredicted the condition. This event still counts when branch prediction is disabled due to the MMU being off. Conditional indirect branches that correctly predict the condition but mispredict the address do not count",
37        "EventCode": "0xCC",
38        "EventName": "BR_COND_MIS_PRED",
39        "BriefDescription": "Conditional branch mispredicted. This event counts when any branch that the conditional predictor can predict is retired and has mispredicted the condition. This event still counts when branch prediction is disabled due to the MMU being off. Conditional indirect branches that correctly predict the condition but mispredict the address do not count"
40    },
41    {
42        "PublicDescription": "Indirect branch with predicted address executed. This event counts when any indirect branch that the BTAC can predict is retired, was taken, and correctly predicted the condition. This event still counts when branch prediction is disabled due to the MMU being off",
43        "EventCode": "0xCD",
44        "EventName": "BR_INDIRECT_ADDR_PRED",
45        "BriefDescription": "Indirect branch with predicted address executed. This event counts when any indirect branch that the BTAC can predict is retired, was taken, and correctly predicted the condition. This event still counts when branch prediction is disabled due to the MMU being off"
46    },
47    {
48        "PublicDescription": "Procedure return with predicted address executed. This event counts when any procedure return that the call-return stack can predict is retired, was taken, and correctly predicted the condition. This event still counts when branch prediction is disabled due to the MMU being off",
49        "EventCode": "0xCE",
50        "EventName": "BR_RETURN_ADDR_PRED",
51        "BriefDescription": "Procedure return with predicted address executed. This event counts when any procedure return that the call-return stack can predict is retired, was taken, and correctly predicted the condition. This event still counts when branch prediction is disabled due to the MMU being off"
52    },
53    {
54        "PublicDescription": "Procedure return mispredicted due to address miscompare. This event counts when any procedure return that the call-return stack can predict is retired, was taken, correctly predicted the condition, and has mispredicted the address. This event still counts when branch prediction is disabled due to the MMU being off",
55        "EventCode": "0xCF",
56        "EventName": "BR_RETURN_ADDR_MIS_PRED",
57        "BriefDescription": "Procedure return mispredicted due to address miscompare. This event counts when any procedure return that the call-return stack can predict is retired, was taken, correctly predicted the condition, and has mispredicted the address. This event still counts when branch prediction is disabled due to the MMU being off"
58    }
59]
60