http://lwn.net/Articles/434856/
http://kernel.org/doc/local/pr_debug.txt
kernel 代码里使用 pr_debug 打印 log
$ adb shell "mount -t debugfs debugfs /sys/kernel/debug"
$ adb shell "echo -n \"file msm.c +p\" > /sys/kernel/debug/dynamic_debug/control"
+p 表示打开 pr_debug ,-p 表示关闭 pr_debug
$ adb shell cat /proc/kmsg