From: Thadeu Lima de Souza Cascardo Date: Sun, 6 Dec 2009 01:20:26 +0000 (-0200) Subject: printk. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=commitdiff_plain;h=2f5c58286588874194b99840d9c1c2b5bb27b0d4 printk. --- diff --git a/01.hello/01.hello.xml b/01.hello/01.hello.xml index 954422f..5f424e6 100644 --- a/01.hello/01.hello.xml +++ b/01.hello/01.hello.xml @@ -50,6 +50,16 @@ kernel to remove them when they are not needed, reducing memory consumption. + +printk + +printk is very similar to printf. The messages are usually +preceded by a string in the form <n>, where n is a +priority. There are macros, like KERN\_ALERT and +KERN\_DEBUG to use for that. + + + Building