xref: /aosp_15_r20/external/bcc/tools/syncsnoop_example.txt (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1Demonstrations of syncsnoop, the Linux eBPF/bcc version.
2
3
4This program traces calls to the kernel sync() routine, with basic timestamps:
5
6# ./syncsnoop
7TIME(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.
15