Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:07:27 |
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_get_line_nolock - retrieve one kmsg log line (unlocked version)*@dumper: registered kmsg dumper*@syslog: include the "<4>" prefixes*@line: buffer to copy the line to*@size: maximum size of the buffer*@len: length of line placed into buffer*
Proto:bool kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog, char *line, size_t size, size_t *len)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmsg_dumper * | dumper | |
bool | syslog | |
char * | line | |
size_t | size | |
size_t * | len |
3167 | l = 0 |
3168 | bool ret = false |
3180 | If cur_seq >= dex and sequence number of the next record to store in the buffer Then Go to out |
3184 | l = msg_print_text(msg, syslog, printk_time, line, size) |
3187 | cur_seq++ |
3188 | ret = true |
3189 | out : |
3192 | Return ret |
Name | Describe |
---|---|
kmsg_dump_get_line | kmsg_dump_get_line - retrieve one kmsg log line*@dumper: registered kmsg dumper*@syslog: include the "<4>" prefixes*@line: buffer to copy the line to*@size: maximum size of the buffer*@len: length of line placed into buffer* Start at the beginning of the |
kdb_dmesg | kdb_dmesg - This function implements the 'dmesg' command to display* the contents of the syslog buffer.* dmesg [lines] [adjust] |
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 |