Function report | 
Source Code:kernel\printk\printk.c | 
Create Date:2022-07-28 10:06:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:print_prefix
Proto:static size_t print_prefix(const struct printk_log *msg, bool syslog, bool time, char *buf)
Type:size_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct printk_log * | msg | |
| bool | syslog | |
| bool | time | |
| char * | buf | 
| 1291 | len = 0 | 
| 1293 | If syslog Then len = print_syslog(( syslog facility << 3) | syslog level , buf) | 
| 1296 | If time Then len += print_time( timestamp in nanoseconds , buf + len) | 
| 1299 | len += print_caller(caller_id, buf + len) | 
| 1306 | Return len | 
| Name | Describe | 
|---|---|
| msg_print_text | 
| 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  |