-
- Downloads
bpf: Expect !info.func_info and insn_off name changes in test_btf/libbpf/bpftool
Similar to info.jited_*, info.func_info could be 0 if bpf_dump_raw_ok() == false. This patch makes changes to test_btf and bpftool to expect info.func_info could be 0. This patch also makes the needed changes for s/insn_offset/insn_off/. Signed-off-by:Martin KaFai Lau <kafai@fb.com> Acked-by:
Yonghong Song <yhs@fb.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- tools/bpf/bpftool/prog.c 7 additions, 0 deletionstools/bpf/bpftool/prog.c
- tools/bpf/bpftool/xlated_dumper.c 2 additions, 2 deletionstools/bpf/bpftool/xlated_dumper.c
- tools/lib/bpf/btf.c 6 additions, 6 deletionstools/lib/bpf/btf.c
- tools/testing/selftests/bpf/test_btf.c 7 additions, 1 deletiontools/testing/selftests/bpf/test_btf.c
Loading
Please register or sign in to comment