Kernel bypass networking using pseudo-syscalls?

Chris Pick rr at chrispick.com
Tue Aug 1 21:37:06 UTC 2017


I was evangelizing rr to a friend last night who's been debugging a program
that uses kernel bypass for networking.

I assumed that 1) userspace uses DMA to interact with the networking
hardware and like shared memory, DMA isn't supported by rr.  If those are
true and, further assuming 3) all the DMA/magic is hidden behind a pair of
send_pkt() and recv_pkt() functions, would it be possible to have rr treat
that pair as a set of custom pseudo-syscalls, recording their inputs and
outputs for later replay?

I imagine something similar must be done if rr supports recording/replaying
vDSO functions?

Thanks for such a useful tool, -Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20170801/82e15d5d/attachment.html>


More information about the rr-dev mailing list