1PRINTK_TIMED_RATELIM(9) Driver Basics PRINTK_TIMED_RATELIM(9)
2
3
4
6 printk_timed_ratelimit - caller-controlled printk ratelimiting
7
9 bool printk_timed_ratelimit(unsigned long * caller_jiffies,
10 unsigned int interval_msecs);
11
13 caller_jiffies
14 pointer to caller's state
15
16 interval_msecs
17 minimum interval between prints
18
20 printk_timed_ratelimit returns true if more than interval_msecs
21 milliseconds have elapsed since the last time printk_timed_ratelimit
22 returned true.
23
25Kernel Hackers Manual 3.10 June 2019 PRINTK_TIMED_RATELIM(9)