Pergunta

When I printk(KERN_INFO, ...), I get something like this:

<6>[116584.000183] ...

What is the number between the square brackets exactly?

Foi útil?

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
scroll top