Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:printk_get_level

Proto:static inline int printk_get_level(const char *buffer)

Type:int

Parameter:

TypeParameterName
const char *buffer
18  If buffer[0] == KERN_SOH_ASCII && buffer[1] Then
20  Case buffer[1] == '0'...'7'
21  Case buffer[1] == 'c'
22  Return buffer[1]
25  Return 0
Caller
NameDescribe
vprintk_storeMust be called under logbuf_lock.
printk_safe_flush_bufferprintk part of the temporary buffer line by line
vkdb_printf
printk_skip_level
printk_skip_headers