函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpuacct.c Create Date:2022-07-27 10:44:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__cpuacct_percpu_seq_show

函数原型:static int __cpuacct_percpu_seq_show(struct seq_file *m, enum cpuacct_stat_index index)

返回类型:int

参数:

类型参数名称
struct seq_file *m
enum cpuacct_stat_indexindex
206  ca等于css_ca(seq_css(m))
210  遍历可用CPU(i)
211  percpu等于cpuacct_cpuusage_read(ca, i, index)
212  seq_printf(m, "%llu ", (unsignedlonglong)percpu)
214  seq_printf(m, "\n")
215  返回:0
调用者
名称描述
cpuacct_percpu_user_seq_show
cpuacct_percpu_sys_seq_show
cpuacct_percpu_seq_show