• Alessandro Rubini's avatar
    syslog: tell not-critical track-lost events · 9d04f61f
    Alessandro Rubini authored
    Under frame loss, most track-lost are just because of ptp timeouts.
    But since the underlying pll is unaffected, and the RTT is almost constant,
    we can tell in the logs whether the lost/resync was actually a time
    jump or not.
    
    This is what happens with moderate frame loss (fhe first track-lost is
    real, due to a ptp restart, the following ones are not and max delta
    between calculated setpoint and current setpoint is reported):
    
       Jan  1 00:00:02 192.168.128.84 (00: 26:7b:00:04:27) Node up since 1 seconds
       Jun 12 14:16:06 192.168.128.84 Tracking after 19.141 s
       Jun 12 14:17:14 192.168.128.84 Lost track
       Jun 12 14:17:20 192.168.128.84 2-th re-rtrack after 6.119 s
       Jun 12 14:17:43 192.168.128.84 Lost track
       Jun 12 14:17:46 192.168.128.84 3-th re-rtrack after 3.287 s (max delta 2 ps)
       Jun 12 14:18:48 192.168.128.84 Lost track
       Jun 12 14:19:00 192.168.128.84 4-th re-rtrack after 12.388 s (max delta 0 ps)
       Jun 12 14:19:14 192.168.128.84 Lost track
       Jun 12 14:19:18 192.168.128.84 5-th re-rtrack after 4.126 s (max delta 3 ps)
       Jun 12 14:19:25 192.168.128.84 Lost track
       Jun 12 14:19:31 192.168.128.84 6-th re-rtrack after 6.022 s (max delta 4 ps)
       Jun 12 14:19:36 192.168.128.84 Lost track
       Jun 12 14:19:38 192.168.128.84 7-th re-rtrack after 2.229 s (max delta 1 ps)
       Jun 12 14:19:52 192.168.128.84 Lost track
       Jun 12 14:20:03 192.168.128.84 8-th re-rtrack after 10.997 s (max delta 1 ps)
       Jun 12 14:21:02 192.168.128.84 Lost track
       Jun 12 14:21:21 192.168.128.84 9-th re-rtrack after 18.906 s (max delta 2 ps)
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    9d04f61f
Name
Last commit
Last update
arch/lm32 Loading commit data...
configs Loading commit data...
dev Loading commit data...
doc Loading commit data...
host Loading commit data...
include Loading commit data...
ipc Loading commit data...
lib Loading commit data...
liblinux Loading commit data...
monitor Loading commit data...
pp_printf Loading commit data...
ppsi @ 75707f6a
scripts Loading commit data...
sdb-lib Loading commit data...
shell Loading commit data...
softpll Loading commit data...
test/snmp Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
bigobj.lds Loading commit data...
check-error.c Loading commit data...
compare_size.sh Loading commit data...
dump-info.c Loading commit data...
revision.c Loading commit data...
save_size.sh Loading commit data...
system_checks.c Loading commit data...
wrc_main.c Loading commit data...
wrc_main_sim.c Loading commit data...
wrs_main.c Loading commit data...