Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\umip.c Create Date:2022-07-28 08:50:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mip_printk() - Print a rate-limited message*@regs: Register set with the context in which the warning is printed*@log_level: Kernel log level to print the message*@fmt: The text string to print* Print the text contained in @fmt

Proto:static __printf(3, 4) void umip_printk(const struct pt_regs *regs, const char *log_level, const char *fmt, ...)

Type:void

Parameter:

TypeParameterName
const struct pt_regs *regs
const char *log_level
const char *fmt
119  DEFINE_RATELIMIT_STATE(ratelimit, 2 * 60 * HZ, 5)
120  tsk = current process
124  If Not __ratelimit( & ratelimit) Then Return
127  va_start(args, fmt)
128  fmt = fmt
129  va = args
130  printk("%s"pr_fmt("%s[%d] ip:%lx sp:%lx: %pV"), log_level, * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), task_pid_nr(tsk), Return frame for iretq , sp, & vaf)
132  va_end(args)