strace

strace ist für systemcal

ltrace ist für library trace

ptrace läuft im Hintergrund