3 ms·
ptrace is atleast 2 context switches that will make it pretty slow
by amitlimaye 6mo ago
ptrace is atleast 2 context switches that will make it pretty slow
- foota 6mo agoYeah this wasn't something like "I want to debug a program" but rather I wanted to be able to track mmaping for later cleanup. Fortunately libc doesn't mmap that much internally so I think I can get away alright with interposing lib's mmap call.