]> git.ipfire.org Git - thirdparty/linux.git/commit
libbpf: Add bpf_object_cleanup_btf function
authorJiri Olsa <jolsa@kernel.org>
Sat, 6 Jun 2026 12:39:42 +0000 (14:39 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 7 Jun 2026 17:03:02 +0000 (10:03 -0700)
commitfe9c8cb2b52b455149d363bbca0fc3648ba0cea6
tree32c2fd007a622d7ca86fe229697005015385a91e
parent8abecdafd57553c053bb68db47ed32a54972d5f4
libbpf: Add bpf_object_cleanup_btf function

Adding bpf_object_cleanup_btf function to cleanup btf objects.
It will be used in following changes.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20260606123955.345967-18-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c