diff options
author | 2021-07-13 20:42:39 +0800 | |
---|---|---|
committer | 2021-07-16 13:22:47 -0700 | |
commit | f0b7d119254247cc373d1695889e5216f13fddcd (patch) | |
tree | 15822f832ec4c0417071a5da8c8386af37237063 /tools/lib/bpf/btf_dump.c | |
parent | libbpf: Fix the possible memory leak on error (diff) | |
download | wireguard-linux-f0b7d119254247cc373d1695889e5216f13fddcd.tar.xz wireguard-linux-f0b7d119254247cc373d1695889e5216f13fddcd.zip |
selftests/bpf: Switch existing selftests to using open_opts for custom BTF
This patch mainly replaces the bpf_object_load_attr of
the core_autosize.c and core_reloc.c files with bpf_object_open_opts.
Signed-off-by: Shuyi Cheng <chengshuyi@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1626180159-112996-4-git-send-email-chengshuyi@linux.alibaba.com
Diffstat (limited to 'tools/lib/bpf/btf_dump.c')
0 files changed, 0 insertions, 0 deletions