Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__cpuacct_percpu_seq_show

Proto:static int __cpuacct_percpu_seq_show(struct seq_file *m, enum cpuacct_stat_index index)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
enum cpuacct_stat_indexindex
206  ca = css_ca(seq_css(m))
210  for_each_possible_cpu(i)
211  percpu = cpuacct_cpuusage_read(ca, i, index)
212  seq_printf(m, "%llu ", (unsignedlonglong)percpu)
214  seq_printf(m, "\n")
215  Return 0
Caller
NameDescribe
cpuacct_percpu_user_seq_show
cpuacct_percpu_sys_seq_show
cpuacct_percpu_seq_show