函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__die

函数原型:int __die(const char *str, struct pt_regs *regs, long err)

返回类型:int

参数:

类型参数名称
const char *str
struct pt_regs *regs
longerr
370  pr等于""
373  如果非die_counterexec_summary_regs等于regs
376  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION)则pr等于如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT)则" PREEMPT_RT"否则" PREEMPT"
379  printk(he default kernel loglevel "%s: %04lx [#%d]%s%s%s%s%s\n", str, err & 0xffff, ++die_counter, pr, IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP) ? " SMP" : "", debug_pagealloc_enabled() ? " DEBUG_PAGEALLOC" : "", IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KASAN) ? " KASAN" : "", IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PAGE_TABLE_ISOLATION) ? (boot_cpu_has(Kernel Page Table Isolation enabled ) ? " PTI" : " NOPTI") : "")
388  show_regs(regs)
389  print_modules()
391  如果notify_die(DIE_OOPS, str, regs, err, trap_nr, SIGSEGV)恒等于Clean way to return from the notifier and stop further calls.则返回:1
395  返回:0
调用者
名称描述
die终止程序