Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpuacct.c Create Date:2022-07-28 09:44:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpuusage_write

Proto:static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)

Type:int

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
struct cftype *cft
u64val
188  ca = css_ca(css)
194  If val Then Return -EINVAL
197  for_each_possible_cpu(cpu)
198  cpuacct_cpuusage_write(ca, cpu, 0)
200  Return 0