函数逻辑报告 |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-27 11:06:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:syslog_print_all
函数原型:static int syslog_print_all(char __user *buf, int size, bool clear)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char __user * | buf | |
| int | size | |
| bool | clear |
| 1422 | len等于0 |
| 1432 | time等于printk_time |
| 1462 | len等于0 |
| 1465 | textlen等于msg_print_text(msg, true, time, text, LOG_LINE_MAX + PREFIX_MAX) |
| 1469 | seq自加 |
| 1471 | logbuf_unlock_irq() |
| 1485 | 如果clear则 |
| 1486 | he next printk record to read after the last 'clear' command 等于dex and sequence number of the next record to store in the buffer |
| 1487 | clear_idx等于log_next_idx |
| 1489 | logbuf_unlock_irq() |
| 1491 | 释放内存 |
| 1492 | 返回:len |
| 名称 | 描述 |
|---|---|
| do_syslog |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |