blob: 4425c5b189a272a3e176f6ac99a12bacce7d4acd [file] [log] [blame]
Brendan Gregg48fbc3e2015-08-18 14:56:14 -07001Demonstrations of syncsnoop, the Linux eBPF/bcc version.
2
3
4This program traces calls to the kernel sync() routine, with basic timestamps:
5
Alexei Starovoitovbdf07732016-01-14 10:09:20 -08006# ./syncsnoop
Brendan Gregg48fbc3e2015-08-18 14:56:14 -07007TIME(s) CALL
816458148.611952 sync()
916458151.533709 sync()
10^C
11
12While tracing, the "sync" command was executed in another server session.
13
14This can be useful to identify that sync() is being called, and its frequency.