]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: emit diff of mismatched public API, if any
authorAndrii Nakryiko <andriin@fb.com>
Wed, 22 May 2019 17:51:28 +0000 (10:51 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 23 May 2019 01:34:01 +0000 (18:34 -0700)
commit2e9279e600b2046fee34284982e8a6a31a4efe40
tree0c9613377f7cc96d338b7a4bcc93a85d033fe111
parent7f3d713684a94fcf839da55ab818320b882f0e3d
libbpf: emit diff of mismatched public API, if any

It's easy to have a mismatch of "intended to be public" vs really
exposed API functions. While Makefile does check for this mismatch, if
it actually occurs it's not trivial to determine which functions are
accidentally exposed. This patch dumps out a diff showing what's not
supposed to be exposed facilitating easier fixing.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/Makefile