函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c Create Date:2022-07-27 09:14:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:measure_l2_residency

函数原型:static int measure_l2_residency(void *_plr)

返回类型:int

参数:

类型参数名称
void *_plr
1049  plr等于_plr
1050  struct residency_counts counts = {0}
1061  :x86_model恒等于Apollo Lake
1062  :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  退出
1068  默认
1069  转到: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  返回:0