diff options
author | Ilya Leoshkevich <[email protected]> | 2023-02-15 00:12:14 +0100 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2023-02-16 15:32:36 -0800 |
commit | 55a9ed0e16baf4d025c160d46bc1e3fac0d4cdc4 (patch) | |
tree | d61801f83178b52f3df16b82d9eb0ca53e866c70 /tools/bpf/bpftool/common.c | |
parent | 6c20822fada1b8adb77fa450d03a0d449686a4a9 (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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions