Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer_list.c Create Date:2022-07-28 10:44:48
Last Modify:2020-03-17 14:55:40 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:print_cpu

Proto:static void print_cpu(struct seq_file *m, int cpu, u64 now)

Type:void

Parameter:

TypeParameterName
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  When i < HRTIMER_MAX_CLOCK_BASES cycle
137  SEQ_printf(m, " clock %d:\n", i)
138  print_base(m, clock_base + i, now)
188  SEQ_printf(m, "\n")
Caller
NameDescribe
sysrq_timer_list_show
timer_list_show