rr-debugger / rr

Record and Replay Framework
http://rr-project.org/
Other
9.09k stars 580 forks source link

async io syscalls support #2958

Open eqbalz opened 3 years ago

eqbalz commented 3 years ago

I am trying to use rr debugger with apps that use async io calls (e.g., io_setup) and looks like it's not supported yet. mysql for example uses async io and I am not able to record it. Any plans on supporting these syscalls?

rocallahan commented 3 years ago

It would probably be a fair bit of work to support and that async I/O model is pretty much obsoleted by io_uring, so I'm not that interested in implementing this. If someone wants to contribute patches for it, we'd take them I guess. It's tricky work; rr would have to observe io_getevents and record the results of the async reads whose completion was observed.