|
From: Igor Z. <iz...@gm...> - 2016-12-09 09:23:42
|
Hi! Sometimes you need to debug some system services running during system boot, or crashing the system, so you are unable to correctly terminate the strace -- it will be running until system hang or forcibly reboot. And in the end of strace output sometimes you will find blocks of zeros instead of proper output. Or last lines will not be written to disk at all because of not-flushed buffers. So it would be nice to have a command-line option that will enable "synchronous" mode where fdatasync() is called after every line of output (especially when written to files). What you think? Thank you. |