Re:Why would you still want to use strace in 2023? [video]
by bboozzoo on Monday January 08, 2024 @05:05AM
(#38910054)
Since you almost always need to open a file in order to do anything useful `strace -vf -e openat` helped solve a lot of issues from simple configuration file lookup to ld.so library loading problems.
[ Parent
| on HN ]
Re:Why would you still want to use strace in 2023? [video]
by thequux on Monday January 08, 2024 @06:19AM
(#38910537)
It is often useful to also watch for calls to the stat family of syscalls; some applications stat files that they wish to open rather than depending on the return code from open, so just looking for open will miss files that don't exist.