xref: /linux/tools/perf/pmu-events/arch/x86/amdzen5/branch-prediction.json (revision 6af91e3d2cfc8bb579b1aa2d22cd91f8c34acdf6)
1[
2  {
3    "EventName": "bp_l1_tlb_miss_l2_tlb_hit",
4    "EventCode": "0x84",
5    "BriefDescription": "Instruction fetches that miss in the L1 ITLB but hit in the L2 ITLB."
6  },
7  {
8    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if4k",
9    "EventCode": "0x85",
10    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 4k pages.",
11    "UMask": "0x01"
12  },
13  {
14    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if2m",
15    "EventCode": "0x85",
16    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 2M pages.",
17    "UMask": "0x02"
18  },
19  {
20    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if1g",
21    "EventCode": "0x85",
22    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 1G pages.",
23    "UMask": "0x04"
24  },
25  {
26    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.coalesced_4k",
27    "EventCode": "0x85",
28    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pages.",
29    "UMask": "0x08"
30  },
31  {
32    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.all",
33    "EventCode": "0x85",
34    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for all page sizes.",
35    "UMask": "0x0f"
36  },
37  {
38    "EventName": "bp_l2_btb_correct",
39    "EventCode": "0x8b",
40    "BriefDescription": "L2 branch prediction overrides existing prediction (speculative)."
41  },
42  {
43    "EventName": "bp_dyn_ind_pred",
44    "EventCode": "0x8e",
45    "BriefDescription": "Dynamic indirect predictions (branch used the indirect predictor to make a prediction)."
46  },
47  {
48    "EventName": "bp_de_redirect",
49    "EventCode": "0x91",
50    "BriefDescription": "Number of times an early redirect is sent to branch predictor. This happens when either the decoder or dispatch logic is able to detect that the branch predictor needs to be redirected."
51  },
52  {
53    "EventName": "bp_l1_tlb_fetch_hit.if4k",
54    "EventCode": "0x94",
55    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for 4k or coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pages.",
56    "UMask": "0x01"
57  },
58  {
59    "EventName": "bp_l1_tlb_fetch_hit.if2m",
60    "EventCode": "0x94",
61    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for 2M pages.",
62    "UMask": "0x02"
63  },
64  {
65    "EventName": "bp_l1_tlb_fetch_hit.if1g",
66    "EventCode": "0x94",
67    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for 1G pages.",
68    "UMask": "0x04"
69  },
70  {
71    "EventName": "bp_l1_tlb_fetch_hit.all",
72    "EventCode": "0x94",
73    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for all page sizes.",
74    "UMask": "0x07"
75  },
76  {
77    "EventName": "bp_redirects.resync",
78    "EventCode": "0x9f",
79    "BriefDescription": "Redirects of the branch predictor caused by resyncs.",
80    "UMask": "0x01"
81  },
82  {
83    "EventName": "bp_redirects.ex_redir",
84    "EventCode": "0x9f",
85    "BriefDescription": "Redirects of the branch predictor caused by mispredicts.",
86    "UMask": "0x02"
87  },
88  {
89    "EventName": "bp_redirects.all",
90    "EventCode": "0x9f",
91    "BriefDescription": "Redirects of the branch predictor."
92  }
93]
94