Brendan Gregg | 48fbc3e | 2015-08-18 14:56:14 -0700 | [diff] [blame] | 1 | Demonstrations of syncsnoop, the Linux eBPF/bcc version. |
| 2 | |
| 3 | |
| 4 | This program traces calls to the kernel sync() routine, with basic timestamps: |
| 5 | |
Alexei Starovoitov | bdf0773 | 2016-01-14 10:09:20 -0800 | [diff] [blame] | 6 | # ./syncsnoop |
Brendan Gregg | 48fbc3e | 2015-08-18 14:56:14 -0700 | [diff] [blame] | 7 | TIME(s) CALL |
| 8 | 16458148.611952 sync() |
| 9 | 16458151.533709 sync() |
| 10 | ^C |
| 11 | |
| 12 | While tracing, the "sync" command was executed in another server session. |
| 13 | |
| 14 | This can be useful to identify that sync() is being called, and its frequency. |