函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree_stall.h Create Date:2022-07-27 11:27:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Print out diagnostic information for the specified stalled CPU.* If the specified CPU is aware of the current RCU grace period, then* print the number of scheduling clock interrupts the CPU has taken* during the time that it has been aware

函数原型:static void print_cpu_stall_info(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
297  rdp等于per_cpu_ptr( & rcu_data, cpu)
305  h_nmi_watchdog - restart NMI watchdog timeout.* If the architecture supports the NMI watchdog, touch_nmi_watchdog()* may be used to reset the timeout - for code which intentionally* disables interrupts for a long time. This call is stateless.
307  ticks_value等于Return the counter portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().
308  如果ticks_value
309  ticks_title等于"GPs behind"
310  否则
311  ticks_title等于"ticks this GP"
312  ticks_value等于The number of scheduling-clock
314  print_cpu_stall_fast_no_hz(fast_no_hz, cpu)
315  delta等于Return the counter portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current().
316  打印错误信息("\t%d-%c%c%c%c: (%lu %s) idle=%03x/%ld/%#lx softirq=%u/%u fqs=%ld %s\n", cpu, "O."[!!cpu_online(cpu)], "o."[!!(Mask to apply to leaf qsmask. & qsmaskinit)], "N."[!!(Mask to apply to leaf qsmask. & ginning of each grace period. )], !IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_IRQ_WORK) ? '?' : Is ->rcu_iw pending? ? (int)两数取小(delta, 9UL) + '0' : "!."[!delta], ticks_value, ticks_title, Snapshot the ->dynticks counter with full ordering so as to allow* stable comparison of this counter with past and future snapshots. & 0xfff, Track process nesting level. , Track irq/NMI nesting level. , Snapshot of softirq activity. , kstat_softirqs_cpu(RCU_SOFTIRQ, cpu), READ_ONCE(Number of calls to ) - Snapshot of n_force_qs at , fast_no_hz)
调用者
名称描述
print_other_cpu_stall
print_cpu_stall