Thi patch adds PMC events for AMD Family 17 CPUs as defined in [1]. It covers events described in section: 2.1.13. Regex pattern in mapfile.csv covers all CPUs of the family. [1] https://support.amd.com/TechDocs/54945_PPR_Family_17h_Models_00h-0Fh.pdf Signed-off-by: Martin Liška <mliska@suse.cz> Acked-by: Borislav Petkov <bp@suse.de> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Jon Grimm <jon.grimm@amd.com> Cc: Martin Jambor <mjambor@suse.cz> Cc: William Cohen <wcohen@redhat.com> Link: https://lkml.kernel.org/r/d65873ca-e402-b198-4fe9-8c4af81258c8@suse.cz Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
[
|
|
{
|
|
"EventName": "ic_oc_mode_switch.oc_ic_mode_switch",
|
|
"EventCode": "0x28a",
|
|
"BriefDescription": "OC to IC mode switch.",
|
|
"PublicDescription": "OC Mode Switch. OC to IC mode switch.",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"EventName": "ic_oc_mode_switch.ic_oc_mode_switch",
|
|
"EventCode": "0x28a",
|
|
"BriefDescription": "IC to OC mode switch.",
|
|
"PublicDescription": "OC Mode Switch. IC to OC mode switch.",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.retire_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "RETIRE Tokens unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. RETIRE Tokens unavailable.",
|
|
"UMask": "0x40"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.agsq_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "AGSQ Tokens unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. AGSQ Tokens unavailable.",
|
|
"UMask": "0x20"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.alu_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "ALU tokens total unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. ALU tokens total unavailable.",
|
|
"UMask": "0x10"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.alsq3_0_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall.",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.alsq3_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "ALSQ 3 Tokens unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. ALSQ 3 Tokens unavailable.",
|
|
"UMask": "0x4"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.alsq2_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "ALSQ 2 Tokens unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. ALSQ 2 Tokens unavailable.",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"EventName": "de_dis_dispatch_token_stalls0.alsq1_token_stall",
|
|
"EventCode": "0xaf",
|
|
"BriefDescription": "ALSQ 1 Tokens unavailable.",
|
|
"PublicDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. ALSQ 1 Tokens unavailable.",
|
|
"UMask": "0x1"
|
|
}
|
|
]
|