xref: /freebsd/lib/libpmc/pmu-events/arch/x86/amdzen4/memory.json (revision 278d6950943a9fec2bddb037b547c04a847c54ba)
1*278d6950SAlexander Motin[
2*278d6950SAlexander Motin  {
3*278d6950SAlexander Motin    "EventName": "ls_bad_status2.stli_other",
4*278d6950SAlexander Motin    "EventCode": "0x24",
5*278d6950SAlexander Motin    "BriefDescription": "Store-to-load conflicts (load unable to complete due to a non-forwardable conflict with an older store).",
6*278d6950SAlexander Motin    "UMask": "0x02"
7*278d6950SAlexander Motin  },
8*278d6950SAlexander Motin  {
9*278d6950SAlexander Motin    "EventName": "ls_dispatch.ld_dispatch",
10*278d6950SAlexander Motin    "EventCode": "0x29",
11*278d6950SAlexander Motin    "BriefDescription": "Number of memory load operations dispatched to the load-store unit.",
12*278d6950SAlexander Motin    "UMask": "0x01"
13*278d6950SAlexander Motin  },
14*278d6950SAlexander Motin  {
15*278d6950SAlexander Motin    "EventName": "ls_dispatch.store_dispatch",
16*278d6950SAlexander Motin    "EventCode": "0x29",
17*278d6950SAlexander Motin    "BriefDescription": "Number of memory store operations dispatched to the load-store unit.",
18*278d6950SAlexander Motin    "UMask": "0x02"
19*278d6950SAlexander Motin  },
20*278d6950SAlexander Motin  {
21*278d6950SAlexander Motin    "EventName": "ls_dispatch.ld_st_dispatch",
22*278d6950SAlexander Motin    "EventCode": "0x29",
23*278d6950SAlexander Motin    "BriefDescription": "Number of memory load-store operations dispatched to the load-store unit.",
24*278d6950SAlexander Motin    "UMask": "0x04"
25*278d6950SAlexander Motin  },
26*278d6950SAlexander Motin  {
27*278d6950SAlexander Motin    "EventName": "ls_stlf",
28*278d6950SAlexander Motin    "EventCode": "0x35",
29*278d6950SAlexander Motin    "BriefDescription": "Store-to-load-forward (STLF) hits."
30*278d6950SAlexander Motin  },
31*278d6950SAlexander Motin  {
32*278d6950SAlexander Motin    "EventName": "ls_st_commit_cancel2.st_commit_cancel_wcb_full",
33*278d6950SAlexander Motin    "EventCode": "0x37",
34*278d6950SAlexander Motin    "BriefDescription": "Non-cacheable store commits cancelled due to the non-cacheable commit buffer being full.",
35*278d6950SAlexander Motin    "UMask": "0x01"
36*278d6950SAlexander Motin  },
37*278d6950SAlexander Motin  {
38*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_4k_l2_hit",
39*278d6950SAlexander Motin    "EventCode": "0x45",
40*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 4k pages.",
41*278d6950SAlexander Motin    "UMask": "0x01"
42*278d6950SAlexander Motin  },
43*278d6950SAlexander Motin  {
44*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_coalesced_page_hit",
45*278d6950SAlexander Motin    "EventCode": "0x45",
46*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB hits for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pages.",
47*278d6950SAlexander Motin    "UMask": "0x02"
48*278d6950SAlexander Motin  },
49*278d6950SAlexander Motin  {
50*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_2m_l2_hit",
51*278d6950SAlexander Motin    "EventCode": "0x45",
52*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 2M pages.",
53*278d6950SAlexander Motin    "UMask": "0x04"
54*278d6950SAlexander Motin  },
55*278d6950SAlexander Motin  {
56*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_1g_l2_hit",
57*278d6950SAlexander Motin    "EventCode": "0x45",
58*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 1G pages.",
59*278d6950SAlexander Motin    "UMask": "0x08"
60*278d6950SAlexander Motin  },
61*278d6950SAlexander Motin  {
62*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_4k_l2_miss",
63*278d6950SAlexander Motin    "EventCode": "0x45",
64*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for 4k pages.",
65*278d6950SAlexander Motin    "UMask": "0x10"
66*278d6950SAlexander Motin  },
67*278d6950SAlexander Motin  {
68*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_coalesced_page_miss",
69*278d6950SAlexander Motin    "EventCode": "0x45",
70*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pages.",
71*278d6950SAlexander Motin    "UMask": "0x20"
72*278d6950SAlexander Motin  },
73*278d6950SAlexander Motin  {
74*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_2m_l2_miss",
75*278d6950SAlexander Motin    "EventCode": "0x45",
76*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for 2M pages.",
77*278d6950SAlexander Motin    "UMask": "0x40"
78*278d6950SAlexander Motin  },
79*278d6950SAlexander Motin  {
80*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.tlb_reload_1g_l2_miss",
81*278d6950SAlexander Motin    "EventCode": "0x45",
82*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for 1G pages.",
83*278d6950SAlexander Motin    "UMask": "0x80"
84*278d6950SAlexander Motin  },
85*278d6950SAlexander Motin  {
86*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.all_l2_miss",
87*278d6950SAlexander Motin    "EventCode": "0x45",
88*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for all page sizes.",
89*278d6950SAlexander Motin    "UMask": "0xf0"
90*278d6950SAlexander Motin  },
91*278d6950SAlexander Motin  {
92*278d6950SAlexander Motin    "EventName": "ls_l1_d_tlb_miss.all",
93*278d6950SAlexander Motin    "EventCode": "0x45",
94*278d6950SAlexander Motin    "BriefDescription": "L1 DTLB misses for all page sizes.",
95*278d6950SAlexander Motin    "UMask": "0xff"
96*278d6950SAlexander Motin  },
97*278d6950SAlexander Motin  {
98*278d6950SAlexander Motin    "EventName": "ls_misal_loads.ma64",
99*278d6950SAlexander Motin    "EventCode": "0x47",
100*278d6950SAlexander Motin    "BriefDescription": "64B misaligned (cacheline crossing) loads.",
101*278d6950SAlexander Motin    "UMask": "0x01"
102*278d6950SAlexander Motin  },
103*278d6950SAlexander Motin  {
104*278d6950SAlexander Motin    "EventName": "ls_misal_loads.ma4k",
105*278d6950SAlexander Motin    "EventCode": "0x47",
106*278d6950SAlexander Motin    "BriefDescription": "4kB misaligned (page crossing) loads.",
107*278d6950SAlexander Motin    "UMask": "0x02"
108*278d6950SAlexander Motin  },
109*278d6950SAlexander Motin  {
110*278d6950SAlexander Motin    "EventName": "ls_tlb_flush.all",
111*278d6950SAlexander Motin    "EventCode": "0x78",
112*278d6950SAlexander Motin    "BriefDescription": "All TLB Flushes.",
113*278d6950SAlexander Motin    "UMask": "0xff"
114*278d6950SAlexander Motin  },
115*278d6950SAlexander Motin  {
116*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_hit",
117*278d6950SAlexander Motin    "EventCode": "0x84",
118*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that miss in the L1 ITLB but hit in the L2 ITLB."
119*278d6950SAlexander Motin  },
120*278d6950SAlexander Motin  {
121*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if4k",
122*278d6950SAlexander Motin    "EventCode": "0x85",
123*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 4k pages.",
124*278d6950SAlexander Motin    "UMask": "0x01"
125*278d6950SAlexander Motin  },
126*278d6950SAlexander Motin  {
127*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if2m",
128*278d6950SAlexander Motin    "EventCode": "0x85",
129*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 2M pages.",
130*278d6950SAlexander Motin    "UMask": "0x02"
131*278d6950SAlexander Motin  },
132*278d6950SAlexander Motin  {
133*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.if1g",
134*278d6950SAlexander Motin    "EventCode": "0x85",
135*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 1G pages.",
136*278d6950SAlexander Motin    "UMask": "0x04"
137*278d6950SAlexander Motin  },
138*278d6950SAlexander Motin  {
139*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.coalesced_4k",
140*278d6950SAlexander Motin    "EventCode": "0x85",
141*278d6950SAlexander Motin    "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.",
142*278d6950SAlexander Motin    "UMask": "0x08"
143*278d6950SAlexander Motin  },
144*278d6950SAlexander Motin  {
145*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_miss_l2_tlb_miss.all",
146*278d6950SAlexander Motin    "EventCode": "0x85",
147*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for all page sizes.",
148*278d6950SAlexander Motin    "UMask": "0x0f"
149*278d6950SAlexander Motin  },
150*278d6950SAlexander Motin  {
151*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_fetch_hit.if4k",
152*278d6950SAlexander Motin    "EventCode": "0x94",
153*278d6950SAlexander Motin    "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.",
154*278d6950SAlexander Motin    "UMask": "0x01"
155*278d6950SAlexander Motin  },
156*278d6950SAlexander Motin  {
157*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_fetch_hit.if2m",
158*278d6950SAlexander Motin    "EventCode": "0x94",
159*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for 2M pages.",
160*278d6950SAlexander Motin    "UMask": "0x02"
161*278d6950SAlexander Motin  },
162*278d6950SAlexander Motin  {
163*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_fetch_hit.if1g",
164*278d6950SAlexander Motin    "EventCode": "0x94",
165*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for 1G pages.",
166*278d6950SAlexander Motin    "UMask": "0x04"
167*278d6950SAlexander Motin  },
168*278d6950SAlexander Motin  {
169*278d6950SAlexander Motin    "EventName": "bp_l1_tlb_fetch_hit.all",
170*278d6950SAlexander Motin    "EventCode": "0x94",
171*278d6950SAlexander Motin    "BriefDescription": "Instruction fetches that hit in the L1 ITLB for all page sizes.",
172*278d6950SAlexander Motin    "UMask": "0x07"
173*278d6950SAlexander Motin  }
174*278d6950SAlexander Motin]
175