userspace o/p to kernel buffer
Jenkins, Clive
Clive.Jenkins at xerox.com
Fri Apr 13 21:15:06 EST 2012
> How do I capture all the output of user-space programs into
> a kernel buffer so that I can later read it using debugger ?
> My board doesn't have a console (no serial, no network).
Assuming you are using a shell to start your user-space
programs, you could easily redirect output to /dev/kmsg
then find it in the dmesg buffer afterwards. You may need
to increase the buffer size.
Clive
More information about the Linuxppc-dev
mailing list