mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

Update events from v1.09 to v1.11. Bring in the event updates v1.11:6b824df1db
4b0346fbee
Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Thomas Falcon <thomas.falcon@intel.com> Link: https://lore.kernel.org/r/20250630163101.1920170-14-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
108 lines
4.9 KiB
JSON
108 lines
4.9 KiB
JSON
[
|
|
{
|
|
"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xe6",
|
|
"EventName": "BACLEARS.ANY",
|
|
"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.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instructions retired that were tagged with having preceded with frontend bound behavior",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.ALL",
|
|
"SampleAfterValue": "1000003"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instruction retired that are tagged after a branch instruction causes bubbles/empty issue slots due to a baclear",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.BRANCH_DETECT",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instruction retired that are tagged after a branch instruction causes bubbles /empty issue slots due to a btclear",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.BRANCH_RESTEER",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x40"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instructions retired that were tagged following an ms flow due to the bubble/wasted issue slot from exiting long ms flow",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.CISC",
|
|
"PublicDescription": "Counts the number of instructions retired that were tagged following an ms flow due to the bubble/wasted issue slot from exiting long ms flow",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instructions retired that were tagged every cycle the decoder is unable to send 3 uops per cycle.",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.DECODE",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instructions retired that were tagged because empty issue slots were seen before the uop due to icache miss",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.ICACHE",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x20"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instructions retired that were tagged because empty issue slots were seen before the uop due to ITLB miss",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.ITLB_MISS",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x10"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instruction retired tagged after a wasted issue slot if none of the previous events occurred",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.OTHER",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x80"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of instruction retired that are tagged after a branch instruction causes bubbles/empty issue slots due to a predecode wrong.",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xc6",
|
|
"EventName": "FRONTEND_RETIRED.PREDECODE",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x4"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump.",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0x80",
|
|
"EventName": "ICACHE.ACCESSES",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x3"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump and the instruction cache registers bytes are not present. -",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0x80",
|
|
"EventName": "ICACHE.MISSES",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the number of cycles that the micro-sequencer is busy.",
|
|
"Counter": "0,1,2,3,4,5,6,7",
|
|
"EventCode": "0xe7",
|
|
"EventName": "MS_DECODED.MS_BUSY",
|
|
"SampleAfterValue": "1000003",
|
|
"UMask": "0x4"
|
|
}
|
|
]
|