Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:07:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmsg_dump - dump kernel log to kernel message dumpers.*@reason: the reason (oops, panic etc) for dumping* Call each of the registered dumper's dump() callback, which can* retrieve the kmsg records with kmsg_dump_get_line() or* kmsg_dump_get_buffer().
Proto:void kmsg_dump(enum kmsg_dump_reason reason)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
enum kmsg_dump_reason | reason |
3117 | If reason > KMSG_DUMP_OOPS && Not always_kmsg_dump Then Return |
3122 | If max_reason && reason > max_reason Then Continue |
3126 | active = true |
3128 | logbuf_lock_irqsave(flags) |
3132 | next_idx = log_next_idx |
3139 | active = false |
Name | Describe |
---|---|
oops_exit | Called when the architecture exits its oops handler, after printing* everything. |
emergency_restart | mergency_restart - reboot the system* Without shutting down any hardware or taking any locks* reboot the system. This is called when we know we are in* trouble so this is our best effort to reboot. This is* safe to call in interrupt context. |
kernel_restart | kernel_restart - reboot the system*@cmd: pointer to buffer containing command to execute for restart* or %NULL* Shutdown everything and perform a clean reboot.* This is not safe to call in interrupt context. |
kernel_halt | kernel_halt - halt the system* Shutdown everything and perform a clean system halt. |
kernel_power_off | kernel_power_off - power_off the system* Shutdown everything and perform a clean system power_off. |
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 |