Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vprintk_emit
Proto:asmlinkage int vprintk_emit(int facility, int level, const char *dict, size_t dictlen, const char *fmt, va_list args)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | facility | |
| int | level | |
| const char * | dict | |
| size_t | dictlen | |
| const char * | fmt | |
| va_list | args |
| 1959 | in_sched = TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0. |
| 1964 | If Value for the false possibility is greater at compile time(System may need to suppress printk message under certain* circumstances, like after kernel panic happens.) Then Return 0 |
| 1968 | level = default (or last) loglevel |
| 1969 | in_sched = true |
| 1972 | boot_delay_msec(level) |
| 1973 | printk_delay() |
| 1976 | logbuf_lock_irqsave(flags) |
| 1979 | pending_output = curr_log_seq != dex and sequence number of the next record to store in the buffer |
| 1983 | If Not in_sched && pending_output Then |
| 1997 | preempt_enable() |
| 2000 | If pending_output Then wake_up_klogd() |
| 2002 | Return printed_len |
| Name | Describe |
|---|---|
| devkmsg_emit | |
| vprintk_default | |
| vprintk_deferred |
| 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 |