函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:schedstat_next

函数原型:static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset)

返回类型:void

参数:

类型参数名称
struct seq_file *file
void *data
loff_t *offset
107  offset自加
109  返回:This itererator needs some explanation.* It returns 1 for the header position.* This means 2 is cpu 0.* In a hotplugged system some CPUs, including cpu 0, may be missing so we have* to use cpumask_* to iterate over the CPUs.