Hacker News new | ask | show | jobs
by amitlimaye 61 days ago
ptrace is atleast 2 context switches that will make it pretty slow
1 comments

Yeah 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.