OK thanks for the feedback on recording overhead, I'll have to try for the checkpoint/restore use case.
Re:Unfork: The Inverse of Fork(2)
by Agingcoder on Sunday May 30, 2021 @12:21PM
(#27334306)
You might be interested by pernosco, written by the same people. It's rather spectacular.
The recording overhead is the same (it leverages rr) but you can explore your bug to your heart's content.
The recording overhead is quite acceptable, about 50%.
Rr also has a 'chaos mode' which changes the thread scheduling, and which greatly facilitates finding the 'unhappy' path.