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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top