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: pgpfe7Rz8Yti6.pgp
Description: PGP signature

Kernelnewbies mailing list

Reply via email to