aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorVineeth Pillai <[email protected]>2020-08-21 15:28:49 +0000
committerWei Liu <[email protected]>2020-08-24 14:49:04 +0000
commitb46b4a8a57c377b72a98c7930a9f6969d2d4784e (patch)
tree00cada960772aa99e7f04d537feaceb8f51e87e7 /scripts/gdb/linux/device.py
parent90b125f4cd2697f949f5877df723a0b710693dd0 (diff)
hv_utils: drain the timesync packets on onchannelcallback
There could be instances where a system stall prevents the timesync packets to be consumed. And this might lead to more than one packet pending in the ring buffer. Current code empties one packet per callback and it might be a stale one. So drain all the packets from ring buffer on each callback. Signed-off-by: Vineeth Pillai <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions