Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:10:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_rdt_mon_resources

Proto:static __init bool get_rdt_mon_resources(void)

Type:bool

Parameter:Nothing

867  If rdt_cpu_has(LLC occupancy monitoring ) Then rdt_mon_features |= 1 << Event IDs are used to program IA32_QM_EVTSEL before reading event* counter from IA32_QM_CTR
869  If rdt_cpu_has(LLC Total MBM monitoring ) Then rdt_mon_features |= 1 << QOS_L3_MBM_TOTAL_EVENT_ID
871  If rdt_cpu_has(LLC Local MBM monitoring ) Then rdt_mon_features |= 1 << QOS_L3_MBM_LOCAL_EVENT_ID
874  If Not rdt_mon_features Then Return false
877  Return Not rdt_get_mon_l3_config( & rdt_resources_all[RDT_RESOURCE_L3])
Caller
NameDescribe
get_rdt_resources