Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Must be called under logbuf_lock.
Proto:int vprintk_store(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 |
1911 | lflags = 0 |
1921 | text_len-- |
1922 | lflags |= xt ended with a newline |
1926 | If facility == 0 Then |
1929 | When (kern_level = printk_get_level(text)) != 0 cycle |
1931 | Case kern_level == '0'...'7' |
1932 | If level == default (or last) loglevel Then level = kern_level - '0' |
1934 | Break |
1935 | Case kern_level == 'c' |
1939 | text_len -= 2 |
1940 | text += 2 |
1944 | If level == default (or last) loglevel Then level = default_message_loglevel |
1947 | If dict Then lflags |= xt ended with a newline |
Name | Describe |
---|---|
vprintk_emit | |
vprintk_func |
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 |