aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-12-17 15:42:28 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-12-17 18:38:35 -0800
commit4a3d6c6a6e4d652808729e7a2a8c3774a5a5c814 (patch)
tree74110c488b0a1de4b852821d3d75b7294d347d97 /drivers
parentlibbpf: Fix libbpf_common.h when installing libbpf through 'make install' (diff)
downloadlinux-dev-4a3d6c6a6e4d652808729e7a2a8c3774a5a5c814.tar.xz
linux-dev-4a3d6c6a6e4d652808729e7a2a8c3774a5a5c814.zip
libbpf: Reduce log level for custom section names
Libbpf is trying to recognize BPF program type based on its section name during bpf_object__open() phase. This is not strictly enforced and user code has ability to specify/override correct BPF program type after open. But if BPF program is using custom section name, libbpf will still emit warnings, which can be quite annoying to users. This patch reduces log level of information messages emitted by libbpf if section name is not canonical. User can still get a list of all supported section names as debug-level message. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191217234228.1739308-1-andriin@fb.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions