Closed GammaPi closed 2 years ago
eg: ltrace
Ptrace incurs enormous overhead.
With perf, the program ran 2.5x slower. But with strace, it ran 62x slower. That's likely to be a worst-case result: if syscalls are not so frequent, the difference between the tools will not be as great. https://www.brendangregg.com/perf.html
They are indded slow according to previous results.
eg: ltrace
Ptrace incurs enormous overhead.