Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dump_stack.c Create Date:2022-07-28 06:15:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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().

Proto:void dump_stack_print_info(const char *log_lvl)

Type:void

Parameter:

TypeParameterName
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  If dump_stack_arch_desc_str[0] != '\0' Then printk("%sHardware name: %s\n", log_lvl, dump_stack_arch_desc_str)
59  print_worker_info(log_lvl, current process)
Caller
NameDescribe
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