aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorZhu Jun <zhujun2@cmss.chinamobile.com>2024-10-09 18:41:26 -0700
committerAndrii Nakryiko <andrii@kernel.org>2024-10-10 19:13:47 -0700
commitf3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 (patch)
treebee2c9df68dd9459c1f4081ca3d28fb0d56491dd /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbpf: Update bpf_override_return() comment (diff)
downloadwireguard-linux-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.tar.xz
wireguard-linux-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.zip
samples/bpf: Fix a resource leak
The opened file should be closed in show_sockopts(), otherwise resource leak will occur that this problem was discovered by reading code Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20241010014126.2573-1-zhujun2@cmss.chinamobile.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions