Re: ftrace events: parameter tracing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux