summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2022-09-21 15:00:35 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2022-09-22 16:41:27 -0700
commit103d002fb7d548fb1187e350f2b73788558128b9 (patch)
treec54832297ee526b06e635e3b6fb1345d83913689 /tools/perf/scripts/python/export-to-postgresql.py
parentf5eb23b91c41a7ffc7ca7fe14f3c512360f02937 (diff)
selftests/bpf: Free the allocated resources after test case succeeds
Free the created fd or allocated bpf_object after test case succeeds, else there will be resource leaks. Spotted by using address sanitizer and checking the content of /proc/$pid/fd directory. Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20220921070035.2016413-3-houtao@huaweicloud.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions