aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-09-17 17:42:37 +0100
committerDavid S. Miller <davem@davemloft.net>2023-09-17 17:42:37 +0100
commitebdada9de39d6a398bd4ba1007e306b57149083c (patch)
treef2a627f027ba366039551fe1f02de351d1f91074 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff)
parentvsock/test: track bytes in sk_buff merging test for SOCK_SEQPACKET (diff)
downloadwireguard-linux-ebdada9de39d6a398bd4ba1007e306b57149083c.tar.xz
wireguard-linux-ebdada9de39d6a398bd4ba1007e306b57149083c.zip
Merge branch 'vsock-tests'
Stefano Garzarella says: ==================== vsock/test: add recv_buf()/send_buf() utility functions and some improvements We recently found that some tests were failing [1]. The problem was that we were not waiting for all the bytes correctly, so we had a partial read. I had initially suggested using MSG_WAITALL, but this could have timeout problems. Since we already had send_byte() and recv_byte() that handled the timeout, but also the expected return value, I moved that code to two new functions that we can now use to send/receive generic buffers. The last commit is just an improvement to a test I found difficult to understand while using the new functions. @Arseniy a review and some testing are really appreciated :-) [1] https://lore.kernel.org/netdev/63xflnwiohdfo6m3vnrrxgv2ulplencpwug5qqacugqh7xxpu3@tsczkuqgwurb/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions