Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Lock-less printk(), to avoid deadlocks should the printk() recurse* into itself. It uses a per-CPU buffer to store the message, just like* NMI.

Proto:static __printf(1, 0) int vprintk_safe(const char *fmt, va_list args)

Type:int

Parameter:

TypeParameterName
const char *fmt
va_listargs
344  s = this_cpu_ptr( & safe_print_seq)
346  Return Add a message to per-CPU context-dependent buffer
Caller
NameDescribe
vprintk_func