函数逻辑报告 |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-27 11:06:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vprintk_emit
函数原型:asmlinkage int vprintk_emit(int facility, int level, const char *dict, size_t dictlen, const char *fmt, va_list args)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | facility | |
int | level | |
const char * | dict | |
size_t | dictlen | |
const char * | fmt | |
va_list | args |
1959 | in_sched等于TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0. |
1964 | 如果此条件成立可能性小(为编译器优化)(System may need to suppress printk message under certain* circumstances, like after kernel panic happens.)则返回:0 |
1969 | in_sched = true |
1972 | boot_delay_msec(level) |
1973 | printk_delay() |
1976 | logbuf_lock_irqsave(flags) |
1979 | pending_output等于curr_log_seq不等于dex and sequence number of the next record to store in the buffer |
1983 | 如果非in_sched且pending_output则 |
1989 | 禁止抢占() |
1997 | 禁用抢占和中断() |
2000 | 如果pending_output则wake_up_klogd() |
2002 | 返回:printed_len |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |