How do I capture all the output of user-space programs into
a kernel buffer so that I can later read it using debugger ?
=A0My 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