]> sourceware.org Git - systemtap.git/commit
PR31597: Allow time for data in buffers to be read out before shutdown
authorWilliam Cohen <wcohen@redhat.com>
Fri, 26 Apr 2024 15:20:27 +0000 (11:20 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Fri, 26 Apr 2024 15:54:21 +0000 (11:54 -0400)
commiteb1f039347f70838bfea922034c1aaa1b14a6379
tree170f76c7b6c573659ea7ff3c92c42f181b20efc0
parentbe7e131bdedb20ad690fdc83a52d74041abd0e54
PR31597: Allow time for data in buffers to be read out before shutdown

On SystemTap scripts using the -c <command> option some data was
dropped from the output.  This was observed with sporadic failures of
the *syscall.exp tests.  The process of shutting down the transport
layer moving data from the kernel- to user-space was not allowing time
for data to be completely drained from the buffers. A delay has been
added in the shutdown process to provided the needed time to drain the
buffers.
staprun/relay.c
This page took 0.027405 seconds and 5 git commands to generate.