3 ms·
There's also strace -kk (--stack-trace=source), but when I just ran it on Ubuntu 24.04, got this error: $ strace -kk pwd strace: Stack traces with source l
by tanelpoder 2y ago
There's also strace -kk (--stack-trace=source), but when I just ran it on Ubuntu 24.04, got this error:
$ strace -kk pwd
strace: Stack traces with source line information (-kk/--stack-trace=source option) are not supported by this build of strace
Also, there's "perf trace" that has now gotten pretty good reporting the system call arguments and context (in older versions it didn't report enough details of the system call arguments & their contents).
As strace uses userspace ptrace(), it slows down the traced processes and may even cause failures due to mucking around with signalling, perf trace doesn't have that problem as it uses kernel tracepoints.