aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_cpp.cpp
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2023-02-14 23:12:18 +0000
committerAndrii Nakryiko <[email protected]>2023-02-16 23:32:46 +0000
commitc5a237a4db21ca7a28518c994def39d7bd62a0d1 (patch)
treeee9417fd32124f8804f8f11ee7f1ac988891dfbc /tools/testing/selftests/bpf/test_cpp.cpp
parentsamples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd() (diff)
downloadkernel-c5a237a4db21ca7a28518c994def39d7bd62a0d1.tar.gz
kernel-c5a237a4db21ca7a28518c994def39d7bd62a0d1.zip
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
Use the new type-safe wrappers around bpf_obj_get_info_by_fd(). Fix a prog/map mixup in prog_holds_map(). 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/testing/selftests/bpf/test_cpp.cpp')
0 files changed, 0 insertions, 0 deletions