aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorDaniel T. Lee <[email protected]>2020-05-16 04:06:04 +0000
committerDaniel Borkmann <[email protected]>2020-05-19 15:12:49 +0000
commit0efdcefb00d768442efef21560ea4c44d481fa5c (patch)
tree8be1ed7d70e6a61c43d53f984061e5d2acd1e4a3 /tools/bpf/bpftool/prog.c
parentbpf: Selftests, add ktls tests to test_sockmap (diff)
downloadkernel-0efdcefb00d768442efef21560ea4c44d481fa5c.tar.gz
kernel-0efdcefb00d768442efef21560ea4c44d481fa5c.zip
samples, bpf: Refactor pointer error check with libbpf
Current method of checking pointer error is not user friendly. Especially the __must_check define makes this less intuitive. Since, libbpf has an API libbpf_get_error() which checks pointer error, this commit refactors existing pointer error check logic with libbpf. Signed-off-by: Daniel T. Lee <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions