Re: [PATCH bpf-next] libbpf: reduce log level for custom section names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 17, 2019 at 3:42 PM Andrii Nakryiko <andriin@xxxxxx> wrote:
>
> 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@xxxxxx>

Applied. Thanks

selftests/bpf/ build looks very nice now.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux