]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Generalize libbpf externs support
authorAndrii Nakryiko <andriin@fb.com>
Fri, 19 Jun 2020 23:16:55 +0000 (16:16 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jun 2020 00:01:48 +0000 (17:01 -0700)
commit43c8ace16a19b35f95fbaa56fb1a418244c6b27a
tree703423b1afa8402526fd6dceb3b09bf5a8455fe1
parent750d284aa0749be6350c1aec73061261a438793c
libbpf: Generalize libbpf externs support

Switch existing Kconfig externs to be just one of few possible kinds of more
generic externs. This refactoring is in preparation for ksymbol extern
support, added in the follow up patch. There are no functional changes
intended.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Hao Luo <haoluo@google.com>
Link: https://lore.kernel.org/bpf/20200619231703.738941-2-andriin@fb.com
tools/lib/bpf/libbpf.c