函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:50:15
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:update_perf_cpu_limits

函数原型:static void update_perf_cpu_limits(void)

返回类型:void

参数:

424  tmp等于perf_sample_period_ns
426  tmp乘等于sysctl_perf_cpu_time_max_percent
427  tmp等于div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full
428  如果非tmptmp等于1
431  WRITE_ONCE(perf_sample_allowed_ns, tmp)
调用者
名称描述
perf_proc_update_handler
perf_cpu_time_max_percent_handler