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)
commit630628cb7dc39780660d8fcedc66e0298a82f9da
tree3b5e3706df1729956cdd345108858418713ee117
parent8601fd422148a8f7ff5f7eaf75b6703d5166332c
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