??????????????????printk
????Printk???????????????printf????????????????Linux????????????printk????????????????
???????printk????????linux????????
????Linux????????????????printk???????????????????linux???????????????????printk????????????c?????е???????#if?? #else?? #endif???
????????????????(/proc)???????????
????/proc???????????????????????????????????????????/proc????????????????豸?????/dev?????/proc?????????????????????????????
????Proc_mkdir
????name:??????????
????parent:????????????proc_dir_entry???????
????create_proc_entry
????name:???????????
????mode:?????????????????????Linux??????????
????parent:?????????????proc_dir_entry???????
????Create_proc_read_entry
????name:???????????
????mode:?????????????????????Linux??????????
????base:?????????????proc_dir_entry???????
????read_proc:?????????????????
????data:????????????????????
????remove_proc_entry
????name:???????????????????
????parent:?????????????proc_dir_entry???????
???????????
??????Щ??????????и?????????
????1.??gdb?????????????
??????????????????????????pc????в???
????2.??gdbserver???????????????
??????????????????塢???????android???????????????????arm?????????????
????3.??kgdb????????????
??????????printk????????????????????????????????pc?????GDB????????豸??