Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\printk\printk.c Create Date:2022-07-28 10:05:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:msg_print_ext_header

Proto:static ssize_t msg_print_ext_header(char *buf, size_t size, struct printk_log *msg, u64 seq)

Type:ssize_t

Parameter:

TypeParameterName
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  Return scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
Caller
NameDescribe
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()