On Wed, 14 Feb 2018 19:39:31 +0100, Christof Warlich said: > program. E.g., recording the the start and the end of any open* system > call while running ls /: > > # trace-cmd record --stderr -e syscalls:sys_enter_open* -e > syscalls:sys_exit_open* -c -F ls / 2>/dev/null Bonus hint: ls doesn't even call open() on the files, it calls stat() on the files. :) Your open() calls are probably for shared libraries or stuff in /usr/lib/locale/
Attachment:
pgpVgri8yToRx.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies