summaryrefslogtreecommitdiff
path: root/tools/bpf
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-02-15 00:12:14 +0100
committerAndrii Nakryiko <andrii@kernel.org>2023-02-16 15:32:36 -0800
commit55a9ed0e16baf4d025c160d46bc1e3fac0d4cdc4 (patch)
treed61801f83178b52f3df16b82d9eb0ca53e866c70 /tools/bpf
parent6c20822fada1b8adb77fa450d03a0d449686a4a9 (diff)
libbpf: Introduce bpf_{btf,link,map,prog}_get_info_by_fd()
These are type-safe wrappers around bpf_obj_get_info_by_fd(). They found one problem in selftests, and are also useful for adding Memory Sanitizer annotations. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230214231221.249277-2-iii@linux.ibm.com
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions