Function report |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-28 09:44:07 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void *sched_debug_start(struct seq_file *file, loff_t *offset)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | file | |
loff_t * | offset |
770 | If n == 0 Then Return 1 |
773 | n-- |
777 | Else n = Uniprocessor. Assume all masks are "1". |
782 | If n < nr_cpu_ids Then Return n + 2 |
785 | Return NULL |
Name | Describe |
---|---|
sched_debug_next |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |