我正在编写一个将错误消息打印到环形缓冲区dmesg 输出的设备驱动程序。我想看到dmesg它改变时的输出。
dmesg
我怎样才能做到这一点?
linux command-line logs dmesg
command-line ×1
dmesg ×1
linux ×1
logs ×1