Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:log_output
Proto:static size_t log_output(int facility, int level, enum log_flags lflags, const char *dict, size_t dictlen, char *text, size_t text_len)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | facility | |
| int | level | |
| enum log_flags | lflags | |
| const char * | dict | |
| size_t | dictlen | |
| char * | text | |
| size_t | text_len |
| 1873 | caller_id = printk_caller_id() |
| 1879 | If length == 0 means unused buffer Then |
| 1880 | If printk_caller_id() of first print == caller_id && lflags & xt is a fragment of a continuation line Then |
| 1885 | cont_flush() |
| 1889 | If Not text_len && lflags & xt is a fragment of a continuation line Then Return 0 |
| 1893 | If Not (lflags & xt ended with a newline ) Then |
| Name | Describe |
|---|---|
| vprintk_store | Must be called under logbuf_lock. |
| 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 |