函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dump_stack_print_info - print generic debug info for dump_stack()*@log_lvl: log level* Arch-specific dump_stack() implementations can use this function to* print out the same debug information as the generic dump_stack().

函数原型:void dump_stack_print_info(const char *log_lvl)

返回类型:void

参数:

类型参数名称
const char *log_lvl
47  printk("%sCPU: %d PID: %d Comm: %.20s %s%s %s %.*s\n", log_lvl, These macros fold the SMP functionality into a single CPU system(), pid, comm, kexec_crash_loaded() ? "Kdump: loaded " : "", print_tainted - return a string to represent the kernel taint state.* For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst* The string is overwritten by the next call to print_tainted(),* but is always NULL terminated., release, (int)strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject*@s: The string to be searched*@reject: The string to avoid, version)
55  如果dump_stack_arch_desc_str[0]不等于'\0'则printk("%sHardware name: %s\n", log_lvl, dump_stack_arch_desc_str)
59  print_worker_info(log_lvl, 当前进程)
调用者
名称描述
show_regs_print_infoshow_regs_print_info - print generic debug info for show_regs()*@log_lvl: log level* show_regs() implementations can use this function to print out generic* debug information.
__dump_stack