Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-28 11:37:42
Last Modify:2020-03-17 19:04:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kdb_dump_stack_on_cpu

Proto:void kdb_dump_stack_on_cpu(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
447  If cpu == These macros fold the SMP functionality into a single CPU system() || Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP) Then
448  dump_stack()
449  Return
452  If Not (exception_state & Slave cpu enter exception ) Then
453  kdb_printf("ERROR: Task on cpu %d didn't stop in the debugger\n", cpu)
455  Return
469  exception_state |= Slave cpu should backtrace then clear flag
470  When exception_state & Slave cpu should backtrace then clear flag cycle
471  cpu_relax()
Caller
NameDescribe
kdb_show_stack