3 ms·
Yup! I discuss the pros and cons of using `ptrace` within that post. It's all about the use case: if being constrained to inferior processes and adding 2-3x ov
by woodruffw 8y ago
Yup! I discuss the pros and cons of using `ptrace` within that post.
It's all about the use case: if being constrained to inferior processes and adding 2-3x overhead per syscall doesn't matter, then `ptrace` is an excellent option. OTOH, if you want to instrument all processes and want to keep instrumentation overhead to a bare minimum, you more or less have to go into the kernel.