huangcm
2025-02-24 69ed55dec4b2116a19e4cca4393cbc014fce5fb2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Demonstrations of syncsnoop, the Linux eBPF/bcc version.
 
 
This program traces calls to the kernel sync() routine, with basic timestamps:
 
# ./syncsnoop
TIME(s)            CALL
16458148.611952    sync()
16458151.533709    sync()
^C
 
While tracing, the "sync" command was executed in another server session.
 
This can be useful to identify that sync() is being called, and its frequency.