Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:07:31 |
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_buffer - copy kmsg log lines*@dumper: registered kmsg dumper*@syslog: include the "<4>" prefixes*@buf: buffer to copy the line to*@size: maximum size of the buffer*@len: length of line placed into buffer* Start at the end of the kmsg buffer
Proto:bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog, char *buf, size_t size, size_t *len)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmsg_dumper * | dumper | |
bool | syslog | |
char * | buf | |
size_t | size | |
size_t * | len |
3253 | l = 0 |
3254 | bool ret = false |
3255 | time = printk_time |
3260 | logbuf_lock_irqsave(flags) |
3270 | Go to out |
3299 | l = 0 |
3305 | seq++ |
3310 | ret = true |
3312 | out : |
3315 | Return ret |
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 |