Function report |
Source Code:arch\x86\kernel\dumpstack.c |
Create Date:2022-07-28 07:34:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__die
Proto:int __die(const char *str, struct pt_regs *regs, long err)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | str | |
struct pt_regs * | regs | |
long | err |
370 | pr = "" |
373 | If Not die_counter Then exec_summary_regs = regs |
376 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION) Then pr = If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT) Then " PREEMPT_RT" Else " 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") : "") |
389 | print_modules() |
391 | If notify_die(DIE_OOPS, str, regs, err, trap_nr, SIGSEGV) == Clean way to return from the notifier and stop further calls. Then Return 1 |
395 | Return 0 |
Name | Describe |
---|---|
die | This is gone through when something in the kernel has done something bad* and is about to be terminated: |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |