Function report |
Source Code:kernel\sched\cpuacct.c |
Create Date:2022-07-28 09:44:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpuacct_all_seq_show
Proto:static int cpuacct_all_seq_show(struct seq_file *m, void *V)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
void * | V |
240 | When index < CPUACCT_STAT_NSTATS cycle seq_printf(m, " %s", cpuacct_stat_desc[index]) |
244 | for_each_possible_cpu(cpu) |
247 | seq_printf(m, "%d", cpu) |
249 | When index < CPUACCT_STAT_NSTATS cycle |
255 | raw_spin_lock_irq( & lock) |
258 | seq_printf(m, " %llu", usages[index]) |
261 | raw_spin_unlock_irq( & lock) |
266 | Return 0 |
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 |