diff options
author | 2022-05-16 11:45:47 -0700 | |
---|---|---|
committer | 2022-05-16 13:42:44 -0700 | |
commit | ac6a65868a5a45db49d5ee8524df3b701110d844 (patch) | |
tree | 72f9343ef2e613411b74f51400d8169d948dbf4a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpftool: Use sysfs vmlinux when dumping BTF by ID (diff) | |
download | linux-dev-ac6a65868a5a45db49d5ee8524df3b701110d844.tar.xz linux-dev-ac6a65868a5a45db49d5ee8524df3b701110d844.zip |
libbpf: fix memory leak in attach_tp for target-less tracepoint program
Fix sec_name memory leak if user defines target-less SEC("tp").
Fixes: 9af8efc45eb1 ("libbpf: Allow "incomplete" basic tracing SEC() definitions")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20220516184547.3204674-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions