aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2023-01-11 10:35:13 +0100
committerAlexei Starovoitov <[email protected]>2023-01-11 18:16:51 -0800
commit5adaf52776a4178434c0670a8e05e529a2b4aafa (patch)
treeca1be1ddf478b367d6face1103ea985a94005b23 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent2d0b2ae2871ae6d42a9f0a4280e0fb5bff8d38b8 (diff)
selftests/xsk: do not close unused file descriptors
Do not close descriptors that have never been used. File descriptor fields that are not in use are erroneously marked with the number 0, which is a valid fd. Mark unused fds with -1 instead and do not close these when deleting the socket. Signed-off-by: Magnus Karlsson <[email protected]> Acked-by: Maciej Fijalkowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions