From: https://stackoverflow.com/questions/9533708/how-to-read-ring-buffer-within-linux-kernel-space
dmesg
would be your first resort! How does dmesg accomplish its task? By a call to syslog()
! How does syslog do its job? Through the system call interface which in turn call do_syslog()
. do_syslog()
does the finishing act like this.

网友评论