Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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 |
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) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |