3 ms·
Two machines seems like overkill in this case - why not debug using User Mode Linux[1]? Debugging with two machines makes perfect sense if you are debugging a
by cuckcuckspruce 9y ago
Two machines seems like overkill in this case - why not debug using User Mode Linux[1]? Debugging with two machines makes perfect sense if you are debugging a hardware driver, but not here.
[1] http://opensourceforu.com/2010/09/user-mode-linux-setup-and-debug/ http://opensourceforu.com/2010/09/user-mode-linux-setup-and-...
- AstralStorm 9y agoBecause UML cannot interact with most hardware and that is where bugs happen. Even VMs do not provide real hardware or allow you to bring down the machine with it. Instead you can debug a crash using a trace and kexec dump. And also use quite fast ftrace infrastructure which is much better than plain old printf. There are also kprobes, gcov and oprofile.