UTSASRG / Scaler

GNU General Public License v2.0
4 stars 0 forks source link

Compare with ptrace-based tools #34

Closed GammaPi closed 2 years ago

GammaPi commented 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

GammaPi commented 2 years ago

They are indded slow according to previous results.