printk second output
-
28-10-2019 - |
Pergunta
When I printk(KERN_INFO, ...), I get something like this:
<6>[116584.000183] ...
What is the number between the square brackets exactly?
Solução
It's a timestamp with microsecond resolution. See the printk
source.
Outras dicas
Seconds since startup. You can control whether this is shown with the CONFIG_PRINTK_TIME
variable in kernel config.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow