P403n1x87 / echion

Near-zero-overhead, in-process CPython frame stack sampler with async support
MIT License
14 stars 2 forks source link

Sanchda/add safe copy #60

Closed sanchda closed 4 months ago

sanchda commented 11 months ago

In many configurations, process_vm_readv() may be blocked at the syscall level (e.g., common Docker seccomp profile). This provides a simple failover using writev(). Note that this mechanism is not faster than process_vm_readv().

This PR adds a few things.

sanchda commented 11 months ago

Moving to draft; this code was copypasta from a different branch, but I see it may be working a little differently here. Will update when it's ready.