函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-27 11:05:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:msg_print_ext_header

函数原型:static ssize_t msg_print_ext_header(char *buf, size_t size, struct printk_log *msg, u64 seq)

返回类型:ssize_t

参数:

类型参数名称
char *buf
size_tsize
struct printk_log *msg
u64seq
717  ts_usec等于 timestamp in nanoseconds
725  caller[0]等于'\0'
728  do_div() is NOT a C function(ts_usec, 1000)
730  返回:格式化输出字符串
调用者
名称描述
devkmsg_read
console_unlocksole_unlock - unlock the console system* Releases the console_lock which the caller holds on the console system* and the console driver list.* While the console_lock was held, console output may have been buffered* by printk()