Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:measure_l2_residency

Proto:static int measure_l2_residency(void *_plr)

Type:int

Parameter:

TypeParameterName
void *_plr
1049  plr = _plr
1050  struct residency_counts counts = {0}
1061  Case x86_model == Apollo Lake
1062  Case x86_model == Gemini Lake
1063  Type specific configuration information. = X86_CONFIG(.event = 0xd1, .umask = 0x10)
1065  Type specific configuration information. = X86_CONFIG(.event = 0xd1, .umask = 0x2)
1067  Break
1068  Default
1069  Go to out
1072  measure_residency_fn( & Create a perf_event_attr for the hit and miss perf events that will* be used during the performance measurement, & perf_hit_attr, plr, & counts)
1077  trace_pseudo_lock_l2(hits_after - hits_before, miss_after - miss_before)
1079  out :
1080  thread_done = 1
1081  wake_up_interruptible( & lock_thread_wq)
1082  Return 0