Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:31:25
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:update_perf_cpu_limits

Proto:static void update_perf_cpu_limits(void)

Type:void

Parameter:Nothing

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  If Not tmp Then tmp = 1
431  WRITE_ONCE(perf_sample_allowed_ns, tmp)
Caller
NameDescribe
perf_proc_update_handler
perf_cpu_time_max_percent_handler