]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: BTF is required when externs are present
authorAndrii Nakryiko <andriin@fb.com>
Thu, 19 Dec 2019 00:28:36 +0000 (16:28 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 19 Dec 2019 01:33:36 +0000 (17:33 -0800)
commit5793be4f7988ca4c2861133044a8d2291db1f2a4
tree3b5e3706df1729956cdd345108858418713ee117
parent53b6dbffac0da9cbd8f36ec3652e224eada1c78a
libbpf: BTF is required when externs are present

BTF is required to get type information about extern variables.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191219002837.3074619-4-andriin@fb.com
tools/lib/bpf/libbpf.c