aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2018-12-06 01:35:47 +0000
committerAlexei Starovoitov <[email protected]>2018-12-06 02:48:40 +0000
commit84ecc1f98ca7ce28ede9bc5cc70a557fdfa09caa (patch)
treed1b34c120c66dd799428ca4e61bf8ed710f4ae3e /tools/lib/bpf/bpf_prog_linfo.c
parentbpf: tools: Sync uapi bpf.h for the name changes in bpf_func_info (diff)
downloadkernel-84ecc1f98ca7ce28ede9bc5cc70a557fdfa09caa.tar.gz
kernel-84ecc1f98ca7ce28ede9bc5cc70a557fdfa09caa.zip
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 <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions