OSDN Git Service

libbpf: Reduce log level of supported section names dump
authorAndrii Nakryiko <andriin@fb.com>
Sat, 14 Dec 2019 01:43:35 +0000 (17:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 15 Dec 2019 23:58:05 +0000 (15:58 -0800)
commit3f51935314b8c0e0f45f28bed2e7a023b2c7627c
tree089af87388f50b919c56113e808ea3fd7f584ae0
parent13acb508ae203075134327551a6705e6e8f23d48
libbpf: Reduce log level of supported section names dump

It's quite spammy. And now that bpf_object__open() is trying to determine
program type from its section name, we are getting these verbose messages all
the time. Reduce their log level to DEBUG.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20191214014341.3442258-12-andriin@fb.com
tools/lib/bpf/libbpf.c