0
KERN_DEBUG日誌級別在Android中寫入哪裏?如果我是,例如,撥打電話Android KERN_DEBUG日誌級別
printk(KERN_DEBUG "666 The beast lives here 666");
然後在哪裏寫輸出?
KERN_DEBUG日誌級別在Android中寫入哪裏?如果我是,例如,撥打電話Android KERN_DEBUG日誌級別
printk(KERN_DEBUG "666 The beast lives here 666");
然後在哪裏寫輸出?
我想通了。在機器人,printk的輸出可以與
$ adb shell cat /proc/kmsg
被讀取或,提供了一種現有的日誌被寫入之前,然後用
$ adb shell /proc/last_kmsg
或
$ adb shell dmesg