xref: /linux/tools/perf/pmu-events/arch/x86/goldmontplus/frontend.json (revision 45957c1e23212474ba5488b3d37ddd224708249b)
165db92e0SKan Liang[
265db92e0SKan Liang    {
3*45957c1eSIan Rogers        "BriefDescription": "BACLEARs asserted for any branch type",
465db92e0SKan Liang        "CollectPEBSRecord": "1",
565db92e0SKan Liang        "Counter": "0,1,2,3",
6*45957c1eSIan Rogers        "EventCode": "0xE6",
7*45957c1eSIan Rogers        "EventName": "BACLEARS.ALL",
865db92e0SKan Liang        "PDIR_COUNTER": "na",
9*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
10*45957c1eSIan Rogers        "PublicDescription": "Counts the number of times a BACLEAR is signaled for any reason, including, but not limited to indirect branch/call,  Jcc (Jump on Conditional Code/Jump if Condition is Met) branch, unconditional branch/call, and returns.",
1165db92e0SKan Liang        "SampleAfterValue": "200003",
12*45957c1eSIan Rogers        "UMask": "0x1"
1365db92e0SKan Liang    },
1465db92e0SKan Liang    {
15*45957c1eSIan Rogers        "BriefDescription": "BACLEARs asserted for conditional branch",
1665db92e0SKan Liang        "CollectPEBSRecord": "1",
1765db92e0SKan Liang        "Counter": "0,1,2,3",
18*45957c1eSIan Rogers        "EventCode": "0xE6",
19*45957c1eSIan Rogers        "EventName": "BACLEARS.COND",
2065db92e0SKan Liang        "PDIR_COUNTER": "na",
21*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
22*45957c1eSIan Rogers        "PublicDescription": "Counts BACLEARS on Jcc (Jump on Conditional Code/Jump if Condition is Met) branches.",
2365db92e0SKan Liang        "SampleAfterValue": "200003",
24*45957c1eSIan Rogers        "UMask": "0x10"
2565db92e0SKan Liang    },
2665db92e0SKan Liang    {
27*45957c1eSIan Rogers        "BriefDescription": "BACLEARs asserted for return branch",
2865db92e0SKan Liang        "CollectPEBSRecord": "1",
2965db92e0SKan Liang        "Counter": "0,1,2,3",
30*45957c1eSIan Rogers        "EventCode": "0xE6",
31*45957c1eSIan Rogers        "EventName": "BACLEARS.RETURN",
3265db92e0SKan Liang        "PDIR_COUNTER": "na",
33*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
34*45957c1eSIan Rogers        "PublicDescription": "Counts BACLEARS on return instructions.",
3565db92e0SKan Liang        "SampleAfterValue": "200003",
36*45957c1eSIan Rogers        "UMask": "0x8"
3765db92e0SKan Liang    },
3865db92e0SKan Liang    {
39*45957c1eSIan Rogers        "BriefDescription": "Decode restrictions due to predicting wrong instruction length",
4065db92e0SKan Liang        "CollectPEBSRecord": "1",
4165db92e0SKan Liang        "Counter": "0,1,2,3",
4265db92e0SKan Liang        "EventCode": "0xE9",
4365db92e0SKan Liang        "EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
4465db92e0SKan Liang        "PDIR_COUNTER": "na",
45*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
46*45957c1eSIan Rogers        "PublicDescription": "Counts the number of times the prediction (from the predecode cache) for instruction length is incorrect.",
4765db92e0SKan Liang        "SampleAfterValue": "200003",
48*45957c1eSIan Rogers        "UMask": "0x1"
49*45957c1eSIan Rogers    },
50*45957c1eSIan Rogers    {
51*45957c1eSIan Rogers        "BriefDescription": "References per ICache line. This event counts differently than Intel processors based on Silvermont microarchitecture",
52*45957c1eSIan Rogers        "CollectPEBSRecord": "1",
53*45957c1eSIan Rogers        "Counter": "0,1,2,3",
54*45957c1eSIan Rogers        "EventCode": "0x80",
55*45957c1eSIan Rogers        "EventName": "ICACHE.ACCESSES",
56*45957c1eSIan Rogers        "PDIR_COUNTER": "na",
57*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
58*45957c1eSIan Rogers        "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line.  The event strives to count on a cache line basis, so that multiple fetches to a single cache line count as one ICACHE.ACCESS.  Specifically, the event counts when accesses from straight line code crosses the cache line boundary, or when a branch target is to a new line.\r\nThis event counts differently than Intel processors based on Silvermont microarchitecture.",
59*45957c1eSIan Rogers        "SampleAfterValue": "200003",
60*45957c1eSIan Rogers        "UMask": "0x3"
61*45957c1eSIan Rogers    },
62*45957c1eSIan Rogers    {
63*45957c1eSIan Rogers        "BriefDescription": "References per ICache line that are available in the ICache (hit). This event counts differently than Intel processors based on Silvermont microarchitecture",
64*45957c1eSIan Rogers        "CollectPEBSRecord": "1",
65*45957c1eSIan Rogers        "Counter": "0,1,2,3",
66*45957c1eSIan Rogers        "EventCode": "0x80",
67*45957c1eSIan Rogers        "EventName": "ICACHE.HIT",
68*45957c1eSIan Rogers        "PDIR_COUNTER": "na",
69*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
70*45957c1eSIan Rogers        "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is in the ICache (hit).  The event strives to count on a cache line basis, so that multiple accesses which hit in a single cache line count as one ICACHE.HIT.  Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
71*45957c1eSIan Rogers        "SampleAfterValue": "200003",
72*45957c1eSIan Rogers        "UMask": "0x1"
73*45957c1eSIan Rogers    },
74*45957c1eSIan Rogers    {
75*45957c1eSIan Rogers        "BriefDescription": "References per ICache line that are not available in the ICache (miss). This event counts differently than Intel processors based on Silvermont microarchitecture",
76*45957c1eSIan Rogers        "CollectPEBSRecord": "1",
77*45957c1eSIan Rogers        "Counter": "0,1,2,3",
78*45957c1eSIan Rogers        "EventCode": "0x80",
79*45957c1eSIan Rogers        "EventName": "ICACHE.MISSES",
80*45957c1eSIan Rogers        "PDIR_COUNTER": "na",
81*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
82*45957c1eSIan Rogers        "PublicDescription": "Counts requests to the Instruction Cache (ICache)  for one or more bytes in an ICache Line and that cache line is not in the ICache (miss).  The event strives to count on a cache line basis, so that multiple accesses which miss in a single cache line count as one ICACHE.MISS.  Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is not in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
83*45957c1eSIan Rogers        "SampleAfterValue": "200003",
84*45957c1eSIan Rogers        "UMask": "0x2"
85*45957c1eSIan Rogers    },
86*45957c1eSIan Rogers    {
87*45957c1eSIan Rogers        "BriefDescription": "MS decode starts",
88*45957c1eSIan Rogers        "CollectPEBSRecord": "1",
89*45957c1eSIan Rogers        "Counter": "0,1,2,3",
90*45957c1eSIan Rogers        "EventCode": "0xE7",
91*45957c1eSIan Rogers        "EventName": "MS_DECODED.MS_ENTRY",
92*45957c1eSIan Rogers        "PDIR_COUNTER": "na",
93*45957c1eSIan Rogers        "PEBScounters": "0,1,2,3",
94*45957c1eSIan Rogers        "PublicDescription": "Counts the number of times the Microcode Sequencer (MS) starts a flow of uops from the MSROM. It does not count every time a uop is read from the MSROM.  The most common case that this counts is when a micro-coded instruction is encountered by the front end of the machine.  Other cases include when an instruction encounters a fault, trap, or microcode assist of any sort that initiates a flow of uops.  The event will count MS startups for uops that are speculative, and subsequently cleared by branch mispredict or a machine clear.",
95*45957c1eSIan Rogers        "SampleAfterValue": "200003",
96*45957c1eSIan Rogers        "UMask": "0x1"
9765db92e0SKan Liang    }
9865db92e0SKan Liang]