printk second output
-
28-10-2019 - |
문제
When I printk(KERN_INFO, ...), I get something like this:
<6>[116584.000183] ...
What is the number between the square brackets exactly?
해결책
It's a timestamp with microsecond resolution. See the printk
source.
다른 팁
Seconds since startup. You can control whether this is shown with the CONFIG_PRINTK_TIME
variable in kernel config.
제휴하지 않습니다 StackOverflow