xref: /freebsd/lib/libpmc/pmu-events/arch/x86/elkhartlake/frontend.json (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1[
2    {
3        "BriefDescription": "Counts the total number of BACLEARS.",
4        "CollectPEBSRecord": "2",
5        "Counter": "0,1,2,3",
6        "EventCode": "0xe6",
7        "EventName": "BACLEARS.ANY",
8        "PDIR_COUNTER": "na",
9        "PEBScounters": "0,1,2,3",
10        "PublicDescription": "Counts the total number of BACLEARS, which occur when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend.  Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
11        "SampleAfterValue": "200003",
12        "UMask": "0x1"
13    },
14    {
15        "BriefDescription": "Counts the number of BACLEARS due to a conditional jump.",
16        "CollectPEBSRecord": "2",
17        "Counter": "0,1,2,3",
18        "EventCode": "0xe6",
19        "EventName": "BACLEARS.COND",
20        "PDIR_COUNTER": "na",
21        "PEBScounters": "0,1,2,3",
22        "SampleAfterValue": "200003",
23        "UMask": "0x10"
24    },
25    {
26        "BriefDescription": "Counts the number of BACLEARS due to an indirect branch.",
27        "CollectPEBSRecord": "2",
28        "Counter": "0,1,2,3",
29        "EventCode": "0xe6",
30        "EventName": "BACLEARS.INDIRECT",
31        "PDIR_COUNTER": "na",
32        "PEBScounters": "0,1,2,3",
33        "SampleAfterValue": "200003",
34        "UMask": "0x2"
35    },
36    {
37        "BriefDescription": "Counts the number of BACLEARS due to a return branch.",
38        "CollectPEBSRecord": "2",
39        "Counter": "0,1,2,3",
40        "EventCode": "0xe6",
41        "EventName": "BACLEARS.RETURN",
42        "PDIR_COUNTER": "na",
43        "PEBScounters": "0,1,2,3",
44        "SampleAfterValue": "200003",
45        "UMask": "0x8"
46    },
47    {
48        "BriefDescription": "Counts the number of BACLEARS due to a non-indirect, non-conditional jump.",
49        "CollectPEBSRecord": "2",
50        "Counter": "0,1,2,3",
51        "EventCode": "0xe6",
52        "EventName": "BACLEARS.UNCOND",
53        "PDIR_COUNTER": "na",
54        "PEBScounters": "0,1,2,3",
55        "SampleAfterValue": "200003",
56        "UMask": "0x4"
57    },
58    {
59        "BriefDescription": "Counts the number of times a decode restriction reduces the decode throughput due to wrong instruction length prediction.",
60        "CollectPEBSRecord": "2",
61        "Counter": "0,1,2,3",
62        "EventCode": "0xe9",
63        "EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
64        "PDIR_COUNTER": "na",
65        "PEBScounters": "0,1,2,3",
66        "SampleAfterValue": "200003",
67        "UMask": "0x1"
68    },
69    {
70        "BriefDescription": "Counts the number of requests to the instruction cache for one or more bytes of a cache line.",
71        "CollectPEBSRecord": "2",
72        "Counter": "0,1,2,3",
73        "EventCode": "0x80",
74        "EventName": "ICACHE.ACCESSES",
75        "PDIR_COUNTER": "na",
76        "PEBScounters": "0,1,2,3",
77        "PublicDescription": "Counts the total number of requests to the instruction cache.  The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line or byte chunk count as one.  Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
78        "SampleAfterValue": "200003",
79        "UMask": "0x3"
80    },
81    {
82        "BriefDescription": "Counts the number of instruction cache misses.",
83        "CollectPEBSRecord": "2",
84        "Counter": "0,1,2,3",
85        "EventCode": "0x80",
86        "EventName": "ICACHE.MISSES",
87        "PDIR_COUNTER": "na",
88        "PEBScounters": "0,1,2,3",
89        "PublicDescription": "Counts the number of missed requests to the instruction cache.  The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line and byte chunk count as one.  Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
90        "SampleAfterValue": "200003",
91        "UMask": "0x2"
92    }
93]