diff options
author | 2023-02-15 00:12:14 +0100 | |
---|---|---|
committer | 2023-02-16 15:32:36 -0800 | |
commit | 55a9ed0e16baf4d025c160d46bc1e3fac0d4cdc4 (patch) | |
tree | d61801f83178b52f3df16b82d9eb0ca53e866c70 /lib/parser.c | |
parent | bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES (diff) | |
download | linux-rng-55a9ed0e16baf4d025c160d46bc1e3fac0d4cdc4.tar.xz linux-rng-55a9ed0e16baf4d025c160d46bc1e3fac0d4cdc4.zip |
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions