Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:css_ca

Proto:static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css)

Type:struct cpuacct

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
37  Return css ? container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(css, structcpuacct, css) : NULL
Caller
NameDescribe
task_caReturn CPU accounting group to which this task belongs
parent_ca
cpuacct_css_freeDestroy an existing CPU accounting group
__cpuusage_readReturn total CPU usage (in nanoseconds) of a group
cpuusage_write
__cpuacct_percpu_seq_show
cpuacct_all_seq_show
cpuacct_stats_show