Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:schedstat_next

Proto:static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset)

Type:void

Parameter:

TypeParameterName
struct seq_file *file
void *data
loff_t *offset
107  offset++
109  Return 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.