Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我 printk(KERN_INFO, ...) 时,我得到如下信息:
<6>[116584.000183] ...
方括号之间的数字究竟是多少?
自启动以来的秒数。您可以控制是否与CONFIG_PRINTK_TIME内核配置中的变量一起显示。
CONFIG_PRINTK_TIME
这是一个具有微秒分辨率的时间戳。查看printk源代码。
printk