table of contents
other versions
- jessie 3.16.56-1+deb8u1
PRINTK_TIMED_RATELIM(9) | Driver Basics | PRINTK_TIMED_RATELIM(9) |
NAME¶
printk_timed_ratelimit - caller-controlled printk ratelimitingSYNOPSIS¶
bool
printk_timed_ratelimit(unsigned long * caller_jiffies,
unsigned int interval_msecs);
ARGUMENTS¶
caller_jiffiespointer to caller's state
interval_msecs
minimum interval between prints
DESCRIPTION¶
printk_timed_ratelimit returns true if more than interval_msecs milliseconds have elapsed since the last time printk_timed_ratelimit returned true.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |