函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer_list.c Create Date:2022-07-27 11:44:40
Last Modify:2020-03-17 14:55:40 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:print_cpu

函数原型:static void print_cpu(struct seq_file *m, int cpu, u64 now)

返回类型:void

参数:

类型参数名称
struct seq_file *m
intcpu
u64now
132  cpu_base等于per_cpu(The timer bases:* There are more clockids than hrtimer bases. Thus, we index* into the timer bases by the hrtimer_base_type enum. When trying* to reach a base using a clockid, hrtimer_clockid_to_base(), cpu)
135  SEQ_printf(m, "cpu: %d\n", cpu)
136 i小于HRTIMER_MAX_CLOCK_BASES循环
137  SEQ_printf(m, " clock %d:\n", i)
138  print_base(m, clock_base + i, now)
188  SEQ_printf(m, "\n")
调用者
名称描述
sysrq_timer_list_show
timer_list_show